Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007883/0.0007883, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008454/0.0008454, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8836/0.8836, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.647/1.647, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.256e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00136/0.001383, allocations: 0.7121 MB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002537, allocations: 1.147 MB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.002583, allocations: 4 kB / 0.9524 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.002612, allocations: 0 / 0.9524 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.002693, allocations: 23.84 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.003123, allocations: 127 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003285, allocations: 123.8 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003387, allocations: 11.98 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.003482, allocations: 67.89 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.003571, allocations: 31.89 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.003594, allocations: 12 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.003653, allocations: 31.97 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.003675, allocations: 7.938 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.003722, allocations: 27.98 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.003911, allocations: 163.5 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003914, allocations: 0 / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003916, allocations: 0 / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.00392, allocations: 0 / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004183/0.004339, allocations: 331.7 kB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.004379, allocations: 12.03 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.591e-05/0.004405, allocations: 34.75 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.004441, allocations: 4.938 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.376e-05/0.004535, allocations: 121.7 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.00455, allocations: 384 / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.004566, allocations: 12.38 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.004646, allocations: 38.25 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.004652, allocations: 192 / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.004659, allocations: 4.375 kB / 0.9535 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.004666, allocations: 12.11 kB / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.004702, allocations: 11.94 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.005049, allocations: 279.9 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.005104, allocations: 34.56 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.005125, allocations: 16.92 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.005135, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.005266, allocations: 63.33 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.005268, allocations: 0 / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001661/0.005434, allocations: 73.69 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.005468, allocations: 63.33 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.00555, allocations: 121.8 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.005572, allocations: 33.7 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.005622, allocations: 92.12 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.005636, allocations: 7.938 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.005683, allocations: 33.7 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.005766, allocations: 318.8 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.005852, allocations: 69.67 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.005928, allocations: 88.2 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.876e-05/0.006017, allocations: 88.27 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006019, allocations: 4 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002106/0.00623, allocations: 200.9 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.006262, allocations: 37.7 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006267, allocations: 4.062 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.00628, allocations: 0 / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.006339, allocations: 11.92 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006344, allocations: 0 / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.006468, allocations: 23.97 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.006482, allocations: 8 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.006554, allocations: 121.8 kB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.006563, allocations: 7.891 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.006588, allocations: 15.98 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00659, allocations: 0 / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.006595, allocations: 0 / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006598, allocations: 0 / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.491e-05/0.006683, allocations: 136.8 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.006685, allocations: 3.938 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.0067, allocations: 8.047 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006703, allocations: 4 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.00671, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.006711, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006712, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.932e-05/0.006811, allocations: 97.02 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.006822, allocations: 7.875 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.006836, allocations: 7.984 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.006851, allocations: 0 / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.006878, allocations: 4.281 kB / 0.9555 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006884, allocations: 4 kB / 0.9555 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.006929, allocations: 95.7 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006929, allocations: 0 / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001561/0.007085, allocations: 23.94 kB / 0.9556 GB, free: 13.87 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004766/0.007561, allocations: 0.6357 MB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.007745, allocations: 157.1 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.007746, allocations: 0 / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.007769, allocations: 15.94 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.00795, allocations: 16.69 kB / 0.9564 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.009103, allocations: 1.629 MB / 0.958 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.009146, allocations: 71.47 kB / 0.9581 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.544e-05/0.009171, allocations: 7.984 kB / 0.9581 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.009205, allocations: 12.5 kB / 0.9581 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of SimCode: time 3.9e-07/0.009205, allocations: 0 / 0.9581 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.02675, allocations: 3.15 MB / 0.9612 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/6.892, allocations: 17.48 kB / 0.9612 GB, free: 8.152 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.75814021192491]