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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002413/0.002412, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.096/3.096, allocations: 482.6 MB / 0.7548 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 74.84 kB / 0.9241 GB, free: 29.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3651, allocations: 162.3 MB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002765/0.3679, allocations: 1.296 MB / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3704, allocations: 1.689 MB / 1.086 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.3705, allocations: 0 / 1.086 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.3705, allocations: 23.67 kB / 1.086 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.3708, allocations: 83.33 kB / 1.086 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.3723, allocations: 0.6438 MB / 1.086 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009505/0.3733, allocations: 0.7877 MB / 1.087 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.3735, allocations: 72.48 kB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.3739, allocations: 299.3 kB / 1.087 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.3743, allocations: 243.1 kB / 1.088 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.3744, allocations: 72 kB / 1.088 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.3746, allocations: 83.98 kB / 1.088 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.3747, allocations: 79.69 kB / 1.088 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.375, allocations: 259.1 kB / 1.088 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008125/0.3758, allocations: 0.682 MB / 1.089 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3759, allocations: 7.938 kB / 1.089 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3759, allocations: 0 / 1.089 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3759, allocations: 4 kB / 1.089 GB, free: 6.621 MB / 0.8419 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.001566/0.3775, allocations: 0.8555 MB / 1.09 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3775, allocations: 12.03 kB / 1.09 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3777, allocations: 56.55 kB / 1.09 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.3793, allocations: 471.3 kB / 1.09 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.3793, allocations: 28.38 kB / 1.09 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.3794, allocations: 40.38 kB / 1.09 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.3799, allocations: 216.5 kB / 1.09 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3799, allocations: 3.938 kB / 1.09 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.38, allocations: 12 kB / 1.09 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.38, allocations: 4 kB / 1.09 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.3803, allocations: 127.8 kB / 1.09 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3818, allocations: 0.953 MB / 1.091 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.3825, allocations: 236.1 kB / 1.092 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3828, allocations: 106.5 kB / 1.092 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.3829, allocations: 7.984 kB / 1.092 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006043/0.3835, allocations: 282.9 kB / 1.092 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 9.278e-06/0.3835, allocations: 0 / 1.092 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001188/0.3847, allocations: 467.7 kB / 1.092 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.3848, allocations: 106.8 kB / 1.093 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3851, allocations: 266.9 kB / 1.093 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.3852, allocations: 45.7 kB / 1.093 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3854, allocations: 164.8 kB / 1.093 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.3856, allocations: 102.6 kB / 1.093 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.3859, allocations: 154 kB / 1.093 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3861, allocations: 338.8 kB / 1.094 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/0.3866, allocations: 224.9 kB / 1.094 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.3873, allocations: 392.6 kB / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.3883, allocations: 0.5736 MB / 1.095 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3884, allocations: 0 / 1.095 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001691/0.3901, allocations: 0.8507 MB / 1.096 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.3902, allocations: 186.2 kB / 1.096 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3902, allocations: 4 kB / 1.096 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.3903, allocations: 7.938 kB / 1.096 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.3905, allocations: 55.89 kB / 1.096 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.3905, allocations: 8 kB / 1.096 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/0.3915, allocations: 179.7 kB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.3916, allocations: 43.97 kB / 1.096 GB, free: 14.58 MB / 0.8575 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.0002649/0.3919, allocations: 175.4 kB / 1.096 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.3919, allocations: 31.81 kB / 1.096 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-05/0.392, allocations: 41.78 kB / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.392, allocations: 15.94 kB / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.392, allocations: 0 / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3921, allocations: 0 / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3936, allocations: 0.9183 MB / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3936, allocations: 0 / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.3938, allocations: 39.91 kB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3938, allocations: 4 kB / 1.097 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.3939, allocations: 15.98 kB / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3939, allocations: 0 / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3939, allocations: 4 kB / 1.097 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.3952, allocations: 0.7012 MB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.3953, allocations: 108.7 kB / 1.098 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.3953, allocations: 12 kB / 1.098 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3956, allocations: 23.98 kB / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.3957, allocations: 35.83 kB / 1.098 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.3957, allocations: 19.98 kB / 1.098 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001849/0.3959, allocations: 178 kB / 1.098 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3959, allocations: 0 / 1.098 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005802/0.3965, allocations: 123.8 kB / 1.098 GB, free: 12.05 MB / 0.8575 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.000282/0.3968, allocations: 123.2 kB / 1.099 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.3983, allocations: 0.8434 MB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3983, allocations: 0.75 kB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.3987, allocations: 167.1 kB / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008063/0.3995, allocations: 115.1 kB / 1.1 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4008, allocations: 0.5994 MB / 1.1 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.4013, allocations: 0.7728 MB / 1.101 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002696/0.4015, allocations: 55.36 kB / 1.101 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.4016, allocations: 35.42 kB / 1.101 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.4016, allocations: 0 / 1.101 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of Templates: time 0.01447/0.4161, allocations: 6.98 MB / 1.108 GB, free: 2.316 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) 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) Reference file matches