Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001801/0.001801, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.002315/0.002315, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.636/1.636, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.406/3.406, allocations: 0.4899 GB / 0.7916 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_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.002186/0.002186, allocations: 67.86 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4204, allocations: 176.1 MB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002723/0.4231, allocations: 1.307 MB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.4257, allocations: 1.724 MB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.4258, allocations: 4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.116e-05/0.4259, allocations: 27.61 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.4261, allocations: 95.28 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.4277, allocations: 0.6423 MB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008312/0.4285, allocations: 0.7564 MB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.4287, allocations: 52.7 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.429, allocations: 303.3 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004212/0.4294, allocations: 283.1 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.4295, allocations: 72 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.4297, allocations: 83.98 kB / 1.327 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.4298, allocations: 71.75 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.4301, allocations: 263.1 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007959/0.4309, allocations: 0.697 MB / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4309, allocations: 0 / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4309, allocations: 0 / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.4309, allocations: 0 / 1.328 GB, free: 12.41 MB / 1.029 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.001575/0.4325, allocations: 0.8786 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4325, allocations: 8.031 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.4327, allocations: 48.75 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.4342, allocations: 467.5 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.4343, allocations: 24.38 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.4344, allocations: 44.38 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.4349, allocations: 224.5 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4349, allocations: 3.938 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.435, allocations: 8 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.435, allocations: 7.984 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.4354, allocations: 119.9 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.4368, allocations: 0.9492 MB / 1.33 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.4375, allocations: 220.2 kB / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.4378, allocations: 110.4 kB / 1.331 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.4379, allocations: 3.938 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005963/0.4384, allocations: 298.9 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.4385, allocations: 0 / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001282/0.4397, allocations: 457.9 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/0.4398, allocations: 114.8 kB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.4401, allocations: 259 kB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.558e-05/0.4402, allocations: 53.7 kB / 1.332 GB, free: 7.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.4404, allocations: 160.9 kB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4405, allocations: 107.2 kB / 1.332 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.4408, allocations: 150 kB / 1.332 GB, free: 7.441 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.441, allocations: 346.8 kB / 1.332 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.4416, allocations: 224.8 kB / 1.333 GB, free: 6.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007385/0.4424, allocations: 388.7 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4434, allocations: 0.5744 MB / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4434, allocations: 0 / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001732/0.4451, allocations: 0.8506 MB / 1.334 GB, free: 4.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.4453, allocations: 186.2 kB / 1.335 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4453, allocations: 4 kB / 1.335 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.4453, allocations: 15.88 kB / 1.335 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4456, allocations: 55.89 kB / 1.335 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.4456, allocations: 12.22 kB / 1.335 GB, free: 4.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/0.4466, allocations: 175.6 kB / 1.335 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.4467, allocations: 47.95 kB / 1.335 GB, free: 4.355 MB / 1.029 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.0002535/0.4469, allocations: 167.5 kB / 1.335 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.447, allocations: 39.8 kB / 1.335 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.4471, allocations: 33.81 kB / 1.335 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.4471, allocations: 11.98 kB / 1.335 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4471, allocations: 0 / 1.335 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4471, allocations: 0 / 1.335 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.4486, allocations: 0.9206 MB / 1.336 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4486, allocations: 4 kB / 1.336 GB, free: 3.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.4489, allocations: 43.91 kB / 1.336 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.4489, allocations: 4 kB / 1.336 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.4489, allocations: 11.98 kB / 1.336 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4489, allocations: 0 / 1.336 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4489, allocations: 4 kB / 1.336 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.4501, allocations: 0.7046 MB / 1.337 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.4502, allocations: 116.9 kB / 1.337 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.4503, allocations: 12.19 kB / 1.337 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.4505, allocations: 19.98 kB / 1.337 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.4506, allocations: 31.89 kB / 1.337 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.4506, allocations: 19.98 kB / 1.337 GB, free: 2.113 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001842/0.4508, allocations: 178 kB / 1.337 GB, free: 1.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4508, allocations: 3.938 kB / 1.337 GB, free: 1.934 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005397/0.4514, allocations: 115.9 kB / 1.337 GB, free: 1.82 MB / 1.029 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.0002289/0.4516, allocations: 127.1 kB / 1.337 GB, free: 1.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.453, allocations: 0.7497 MB / 1.338 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.453, allocations: 0 / 1.338 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.4534, allocations: 144.5 kB / 1.338 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.4542, allocations: 113.9 kB / 1.338 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4554, allocations: 0.6163 MB / 1.339 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4558, allocations: 0.7689 MB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.456, allocations: 51.27 kB / 1.34 GB, free: 15.11 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.4561, allocations: 43.42 kB / 1.34 GB, free: 15.07 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.4561, allocations: 0 / 1.34 GB, free: 15.07 MB / 1.045 GB Notification: Performance of Templates: time 0.0138/0.4699, allocations: 7.038 MB / 1.347 GB, free: 8.129 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.912067821715027]