Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001155/0.001155, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.536/2.536, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7689, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002282/0.7712, allocations: 0.9283 MB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.7724, allocations: 0.8858 MB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.7725, allocations: 0 / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.7726, allocations: 15.8 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.7727, allocations: 15.81 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.7729, allocations: 39.94 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.773, allocations: 135.6 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.7732, allocations: 49.5 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.7733, allocations: 47.78 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.7734, allocations: 55.77 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.7735, allocations: 12 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.403e-05/0.7735, allocations: 12 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.7735, allocations: 35.91 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.7736, allocations: 59.66 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.7738, allocations: 159.2 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7738, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7738, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7738, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006284/0.7745, allocations: 432.8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.7745, allocations: 8.031 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.7746, allocations: 20.75 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.7749, allocations: 212.9 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.7749, allocations: 4.375 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.7749, allocations: 20.11 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.7752, allocations: 99.36 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7752, allocations: 0 / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.7752, allocations: 0 / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.7752, allocations: 4 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.7754, allocations: 71.95 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.776, allocations: 404.4 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.7763, allocations: 82.61 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.7764, allocations: 40.84 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.7764, allocations: 0 / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.7765, allocations: 46.42 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.7765, allocations: 0 / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003693/0.7768, allocations: 121.6 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.7769, allocations: 59.39 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.777, allocations: 155.8 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.7771, allocations: 33.7 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.7771, allocations: 112.2 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.7772, allocations: 19.72 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.7772, allocations: 29.64 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7773, allocations: 322.8 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.7774, allocations: 35.98 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.7776, allocations: 50.55 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.7777, allocations: 56.78 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7777, allocations: 3.984 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00024/0.778, allocations: 105.5 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.778, allocations: 11.97 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.778, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.778, allocations: 0 / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.7781, allocations: 11.98 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.7782, allocations: 4 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.7783, allocations: 16.2 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.7783, allocations: 4 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001039/0.7784, allocations: 123.2 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.7784, allocations: 27.69 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.7785, allocations: 16.7 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.7785, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7785, allocations: 4 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7785, allocations: 0 / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.7787, allocations: 205.6 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7787, allocations: 0 / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.7789, allocations: 15.92 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.7789, allocations: 7.938 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7789, allocations: 0 / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7789, allocations: 7.984 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7789, allocations: 0 / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.7792, allocations: 195.4 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.7792, allocations: 92.86 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.7792, allocations: 4 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.7794, allocations: 7.984 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.7794, allocations: 23.97 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.7795, allocations: 0 / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.953e-05/0.7796, allocations: 119.2 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7796, allocations: 0 / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002548/0.7798, allocations: 15.94 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001311/0.78, allocations: 111.1 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.7802, allocations: 75.95 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7802, allocations: 0 / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.7803, allocations: 35.92 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.7807, allocations: 8 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.7812, allocations: 245.5 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.7815, allocations: 0.7041 MB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.7815, allocations: 23.42 kB / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.7815, allocations: 0 / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.003056/0.7846, allocations: 1.39 MB / 1.217 GB, free: 4.816 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches