Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001386/0.001386, 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.001514/0.001514, allocations: 192.9 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 60.12 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.5733, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002001/0.5754, allocations: 0.8829 MB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.5761, allocations: 0.8674 MB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.5762, allocations: 1.25 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.5762, allocations: 13.16 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.5763, allocations: 18.17 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.5765, allocations: 39.58 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.5766, allocations: 114.8 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.5767, allocations: 41.83 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.5768, allocations: 49.47 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.5769, allocations: 51.52 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.577, allocations: 10.84 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.577, allocations: 10.44 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.577, allocations: 26.59 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.5771, allocations: 45.36 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.5772, allocations: 125.4 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5772, allocations: 0 / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5772, allocations: 1.344 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5772, allocations: 3.938 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007623/0.578, allocations: 465.3 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.578, allocations: 9.656 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.5781, allocations: 10.19 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/0.5782, allocations: 186.8 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5782, allocations: 8.094 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.5782, allocations: 5.375 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.5784, allocations: 91.66 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5784, allocations: 4.188 kB / 0.9526 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5784, allocations: 13.14 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5784, allocations: 1.594 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.5786, allocations: 59.28 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.5793, allocations: 412.1 kB / 0.953 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.5794, allocations: 62.36 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.5795, allocations: 36.97 kB / 0.9531 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.5795, allocations: 0 / 0.9531 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.5796, allocations: 31.66 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.5796, allocations: 0 / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003288/0.5799, allocations: 111.7 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.5799, allocations: 52.81 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.58, allocations: 162.7 kB / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.58, allocations: 27.33 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.5801, allocations: 104.9 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5801, allocations: 10.8 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.5802, allocations: 27.11 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.5802, allocations: 321 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.5803, allocations: 26.92 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.5804, allocations: 32.02 kB / 0.954 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.5805, allocations: 57.36 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5805, allocations: 3.938 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001896/0.5807, allocations: 100.5 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5807, allocations: 4.906 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5807, allocations: 1.344 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5808, allocations: 0 / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.155e-05/0.5809, allocations: 11.09 kB / 0.9542 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5809, allocations: 7.875 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.5811, allocations: 30.48 kB / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.5811, allocations: 1.344 kB / 0.9542 GB, free: 5.203 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 6.262e-05/0.5811, allocations: 119.8 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.5812, allocations: 8.406 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.5812, allocations: 22.55 kB / 0.9543 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5812, allocations: 1.844 kB / 0.9543 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5812, allocations: 3.938 kB / 0.9543 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5812, allocations: 3.984 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.5814, allocations: 191.5 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5814, allocations: 0 / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.5815, allocations: 10.14 kB / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5815, allocations: 0 / 0.9545 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5815, allocations: 5 kB / 0.9545 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5815, allocations: 5.203 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5815, allocations: 3.938 kB / 0.9546 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.5817, allocations: 181.1 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.5817, allocations: 91.44 kB / 0.9548 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.5818, allocations: 5.281 kB / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.582, allocations: 26.88 kB / 0.9548 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.582, allocations: 25.39 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.582, allocations: 1.062 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.5821, allocations: 116.8 kB / 0.955 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5821, allocations: 0 / 0.955 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002293/0.5823, allocations: 13.66 kB / 0.955 GB, free: 4.426 MB / 0.7169 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 (5): * Single equations (assignments): 5 * 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 9.407e-05/0.5824, allocations: 105.7 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.5827, allocations: 68.83 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5827, allocations: 0 / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.5828, allocations: 35.08 kB / 0.9552 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.5831, allocations: 10.81 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.5835, allocations: 205.1 kB / 0.9554 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.5836, allocations: 0.7024 MB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.31e-05/0.5837, allocations: 7.188 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.5837, allocations: 16.09 kB / 0.9561 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5837, allocations: 0 / 0.9561 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.003555/0.5873, allocations: 1.36 MB / 0.9574 GB, free: 2.703 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches