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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001626/0.001626, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 69.67 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3488, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00253/0.3513, allocations: 1.341 MB / 1.053 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.3535, allocations: 1.775 MB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.3536, allocations: 8 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.953e-05/0.3537, allocations: 11.86 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.3539, allocations: 63.48 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3552, allocations: 0.5979 MB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.3557, allocations: 0.6665 MB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3559, allocations: 64.72 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.3562, allocations: 251.3 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3564, allocations: 219.2 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.146e-05/0.3565, allocations: 40 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.3567, allocations: 55.91 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.3568, allocations: 63.75 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.357, allocations: 227.1 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.3576, allocations: 0.6507 MB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3576, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3576, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.3576, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 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.001291/0.3589, allocations: 0.871 MB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.359, allocations: 12.03 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3591, allocations: 48.55 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.3606, allocations: 467.3 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.3606, allocations: 36.36 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/0.3607, allocations: 40.38 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.3612, allocations: 225.5 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3612, allocations: 11.86 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.3613, allocations: 8 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3613, allocations: 4 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.3616, allocations: 119.9 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3628, allocations: 0.9569 MB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.3634, allocations: 236.1 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.3637, allocations: 106.5 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3637, allocations: 4 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.3643, allocations: 289.3 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.522e-06/0.3643, allocations: 0 / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001122/0.3654, allocations: 463.9 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3655, allocations: 110.8 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3657, allocations: 270.9 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.321e-05/0.3658, allocations: 45.7 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3659, allocations: 160.8 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.366, allocations: 102.6 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.3663, allocations: 150 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3664, allocations: 342.8 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.3669, allocations: 236.8 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.3676, allocations: 380.7 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.3685, allocations: 0.5711 MB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3685, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001571/0.3701, allocations: 0.8426 MB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.3702, allocations: 186.2 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3702, allocations: 4.375 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3703, allocations: 11.94 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.3705, allocations: 51.91 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3705, allocations: 11.92 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.3714, allocations: 171.5 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.3715, allocations: 47.97 kB / 1.065 GB, free: 10.76 MB / 0.8262 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.000196/0.3717, allocations: 177 kB / 1.065 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.3718, allocations: 31.62 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.3718, allocations: 37.8 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3718, allocations: 4 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3719, allocations: 4 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3719, allocations: 3.984 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.3731, allocations: 0.9146 MB / 1.066 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3731, allocations: 4 kB / 1.066 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.3733, allocations: 51.83 kB / 1.067 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3734, allocations: 0 / 1.067 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3734, allocations: 19.92 kB / 1.067 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3734, allocations: 8 kB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3734, allocations: 0 / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3745, allocations: 0.7096 MB / 1.067 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.3746, allocations: 108.7 kB / 1.067 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.3747, allocations: 12.03 kB / 1.067 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3749, allocations: 15.98 kB / 1.067 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.375, allocations: 23.97 kB / 1.067 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.375, allocations: 19.98 kB / 1.067 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001639/0.3752, allocations: 182 kB / 1.068 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3752, allocations: 0 / 1.068 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005195/0.3757, allocations: 111.9 kB / 1.068 GB, free: 8.234 MB / 0.8262 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.0002542/0.376, allocations: 127.2 kB / 1.068 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.3773, allocations: 0.836 MB / 1.069 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3773, allocations: 3.938 kB / 1.069 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.3776, allocations: 163.5 kB / 1.069 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.3784, allocations: 105.9 kB / 1.069 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3794, allocations: 0.6792 MB / 1.07 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3798, allocations: 0.773 MB / 1.07 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.38, allocations: 47.28 kB / 1.07 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.3801, allocations: 43.42 kB / 1.07 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3801, allocations: 0 / 1.07 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.01103/0.3912, allocations: 6.655 MB / 1.077 GB, free: 14.77 MB / 0.8419 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=480 -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