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.001336/0.001336, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001447/0.001447, allocations: 216 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.25/3.25, allocations: 0.5107 GB / 0.8166 GB, free: 17.75 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.002067/0.002067, allocations: 69.16 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 181.9 MB / 1.365 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00327/0.3807, allocations: 1.198 MB / 1.366 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3836, allocations: 1.713 MB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.3838, allocations: 7.938 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.434e-05/0.3838, allocations: 23.62 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.3841, allocations: 95.34 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3857, allocations: 0.6518 MB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008859/0.3866, allocations: 0.7525 MB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3867, allocations: 48.89 kB / 1.369 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.3871, allocations: 299.4 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.3875, allocations: 247.1 kB / 1.37 GB, free: 8.426 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.3876, allocations: 72 kB / 1.37 GB, free: 8.355 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.3878, allocations: 76 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.3879, allocations: 87.67 kB / 1.37 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.3881, allocations: 239.3 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.3889, allocations: 0.6892 MB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3889, allocations: 3.938 kB / 1.371 GB, free: 7.266 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3889, allocations: 4 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3889, allocations: 0 / 1.371 GB, free: 7.262 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.001477/0.3904, allocations: 0.8614 MB / 1.372 GB, free: 6.316 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3904, allocations: 12.03 kB / 1.372 GB, free: 6.305 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.3905, allocations: 52.7 kB / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.392, allocations: 393 kB / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.3921, allocations: 28.38 kB / 1.372 GB, free: 5.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.3922, allocations: 48.36 kB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.3927, allocations: 212.5 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3927, allocations: 7.938 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3927, allocations: 15.92 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3927, allocations: 4 kB / 1.372 GB, free: 5.523 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.3931, allocations: 123.9 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.3943, allocations: 0.7813 MB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.3951, allocations: 224 kB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.3954, allocations: 98.52 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.3954, allocations: 4 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006474/0.396, allocations: 297.3 kB / 1.374 GB, free: 3.914 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.396, allocations: 0 / 1.374 GB, free: 3.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001229/0.3973, allocations: 469.1 kB / 1.374 GB, free: 3.449 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.3974, allocations: 114.8 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3977, allocations: 268.1 kB / 1.375 GB, free: 3.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.3978, allocations: 45.7 kB / 1.375 GB, free: 2.988 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3979, allocations: 161 kB / 1.375 GB, free: 2.828 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.398, allocations: 103.2 kB / 1.375 GB, free: 2.727 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.3983, allocations: 150 kB / 1.375 GB, free: 2.574 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3985, allocations: 350.8 kB / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007341/0.3992, allocations: 411 kB / 1.376 GB, free: 1.781 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009524/0.4002, allocations: 0.7618 MB / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4012, allocations: 0.5776 MB / 1.377 GB, free: 216 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4012, allocations: 0 / 1.377 GB, free: 216 kB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001878/0.4031, allocations: 1.048 MB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.4032, allocations: 190.2 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4032, allocations: 0 / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.4032, allocations: 8 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.4035, allocations: 55.84 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4035, allocations: 4 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009608/0.4045, allocations: 183.6 kB / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.832e-05/0.4046, allocations: 43.97 kB / 1.379 GB, free: 14.57 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.0002515/0.4048, allocations: 175.5 kB / 1.379 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.4049, allocations: 31.81 kB / 1.379 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.405, allocations: 33.8 kB / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.405, allocations: 7.938 kB / 1.379 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.405, allocations: 0 / 1.379 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.405, allocations: 4 kB / 1.379 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.4064, allocations: 0.8255 MB / 1.38 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4064, allocations: 0 / 1.38 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.4066, allocations: 43.91 kB / 1.38 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4066, allocations: 3.938 kB / 1.38 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.4067, allocations: 15.98 kB / 1.38 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4067, allocations: 4 kB / 1.38 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4067, allocations: 0 / 1.38 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.4079, allocations: 0.7049 MB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.408, allocations: 39.78 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.408, allocations: 15.88 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4083, allocations: 19.98 kB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.4084, allocations: 31.88 kB / 1.38 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.4084, allocations: 16 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001974/0.4086, allocations: 183.1 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4086, allocations: 0 / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005777/0.4092, allocations: 119.9 kB / 1.381 GB, free: 12.25 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.0002047/0.4094, allocations: 119 kB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.411, allocations: 0.9499 MB / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.411, allocations: 0 / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.4114, allocations: 152.5 kB / 1.382 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.4122, allocations: 109.1 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4135, allocations: 0.6358 MB / 1.383 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.4137, allocations: 164.8 kB / 1.383 GB, free: 9.945 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/0.4137, allocations: 43.42 kB / 1.383 GB, free: 9.902 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.4137, allocations: 0 / 1.383 GB, free: 9.902 MB / 1.076 GB Notification: Performance of Templates: time 0.01022/0.424, allocations: 5.898 MB / 1.389 GB, free: 4.055 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/jenkins1/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] "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time [Calling sys.exit(0), Time elapsed: 12.092497118283063]