Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.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.00148/0.00148, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001615/0.001615, allocations: 218.4 kB / 22.25 MB, free: 4.852 MB / 14.72 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 1.634/1.634, allocations: 230.6 MB / 256 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.611/3.611, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 69.7 kB / 1.186 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4299, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002966/0.4329, allocations: 1.212 MB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.4355, allocations: 1.702 MB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4356, allocations: 7.938 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.4357, allocations: 27.61 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.4359, allocations: 95.33 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.4375, allocations: 0.6485 MB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008063/0.4383, allocations: 0.7525 MB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.4384, allocations: 40.92 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.4388, allocations: 307.3 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.4392, allocations: 251.1 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.4393, allocations: 72 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.4394, allocations: 83.98 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.4395, allocations: 71.7 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.4398, allocations: 239.3 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.4405, allocations: 0.697 MB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4405, allocations: 3.938 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4405, allocations: 0 / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.4405, allocations: 4 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001522/0.442, allocations: 0.8614 MB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4421, allocations: 15.97 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4422, allocations: 52.7 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.4437, allocations: 389 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.4437, allocations: 32.36 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.4438, allocations: 44.38 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.4443, allocations: 216.5 kB / 1.371 GB, free: 5.668 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4443, allocations: 3.938 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.4443, allocations: 8 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.4443, allocations: 4 kB / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.4447, allocations: 123.9 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.4459, allocations: 0.793 MB / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/0.4466, allocations: 212.1 kB / 1.373 GB, free: 4.465 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.4469, allocations: 106.5 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.4469, allocations: 11.97 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006126/0.4475, allocations: 293.2 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.4475, allocations: 0 / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001172/0.4487, allocations: 463 kB / 1.373 GB, free: 3.574 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/0.4488, allocations: 118.7 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.4491, allocations: 272.1 kB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/0.4492, allocations: 49.69 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4493, allocations: 153 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4494, allocations: 107.2 kB / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.4497, allocations: 150.1 kB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4499, allocations: 346.8 kB / 1.375 GB, free: 2.344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.4505, allocations: 407 kB / 1.375 GB, free: 1.906 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/0.4515, allocations: 0.7696 MB / 1.376 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009629/0.4524, allocations: 0.5703 MB / 1.376 GB, free: 340 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4524, allocations: 0 / 1.376 GB, free: 340 kB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001826/0.4542, allocations: 1.04 MB / 1.377 GB, free: 15.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.4544, allocations: 186.2 kB / 1.377 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4544, allocations: 4 kB / 1.377 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.4544, allocations: 8 kB / 1.377 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.4547, allocations: 60.2 kB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4547, allocations: 8 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/0.4556, allocations: 175.5 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.4557, allocations: 43.97 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0002576/0.456, allocations: 175.6 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.456, allocations: 35.81 kB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.825e-05/0.4561, allocations: 37.73 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4561, allocations: 11.94 kB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4561, allocations: 0 / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.4562, allocations: 7.984 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.4576, allocations: 0.8188 MB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.4576, allocations: 0 / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.4578, allocations: 51.89 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4578, allocations: 3.938 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.4578, allocations: 11.98 kB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4578, allocations: 4 kB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4578, allocations: 0 / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.4591, allocations: 0.7097 MB / 1.38 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.4591, allocations: 27.75 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4591, allocations: 12.03 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.4594, allocations: 15.98 kB / 1.38 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.4595, allocations: 31.89 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.4595, allocations: 23.98 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001779/0.4597, allocations: 183.1 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4597, allocations: 0 / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005304/0.4602, allocations: 115.9 kB / 1.38 GB, free: 12.38 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002076/0.4604, allocations: 115.2 kB / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.4619, allocations: 0.9482 MB / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4619, allocations: 192 / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.4623, allocations: 144 kB / 1.381 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.4631, allocations: 117.4 kB / 1.381 GB, free: 10.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.4643, allocations: 0.6028 MB / 1.382 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.4645, allocations: 168.8 kB / 1.382 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.4647, allocations: 59.2 kB / 1.382 GB, free: 10.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.4648, allocations: 39.42 kB / 1.382 GB, free: 10.02 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/0.4648, allocations: 0 / 1.382 GB, free: 10.02 MB / 1.076 GB Notification: Performance of Templates: time 0.01432/0.4791, allocations: 8.06 MB / 1.39 GB, free: 2.148 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.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.176820939406753]