Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001814/0.001814, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002079/0.002079, allocations: 194.8 kB / 16.25 MB, free: 6.641 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 59.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.6499, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002484/0.6525, allocations: 0.9333 MB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.6536, allocations: 0.8818 MB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.6536, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.6537, allocations: 7.922 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.6538, allocations: 11.92 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.654, allocations: 31.91 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.6542, allocations: 115.7 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.6543, allocations: 49.06 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.6545, allocations: 39.86 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.6546, allocations: 51.7 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.6546, allocations: 12 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.6546, allocations: 8 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.6547, allocations: 27.91 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.6547, allocations: 51.73 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.6549, allocations: 125.6 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6549, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6549, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.6549, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 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.0009192/0.6558, allocations: 462.9 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6559, allocations: 8.031 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.6559, allocations: 12.84 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.6561, allocations: 180.1 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.6561, allocations: 8.375 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.6562, allocations: 8.375 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.6564, allocations: 95.83 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6564, allocations: 4.188 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6564, allocations: 7.875 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6565, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.6566, allocations: 67.95 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.6574, allocations: 416.4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.6576, allocations: 58.56 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.6577, allocations: 32.97 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.6577, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.6577, allocations: 34.5 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.6577, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003641/0.6581, allocations: 117.5 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.6582, allocations: 51.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.6583, allocations: 160.3 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.6584, allocations: 25.7 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.6585, allocations: 108 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.6585, allocations: 19.89 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.6585, allocations: 21.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6587, allocations: 322.8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.6588, allocations: 31.97 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.6589, allocations: 27.98 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.6591, allocations: 52.77 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6591, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002212/0.6593, allocations: 101.6 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.6593, allocations: 4 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6593, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6593, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.6594, allocations: 11.98 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6595, allocations: 3.938 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.6596, allocations: 27.95 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.6597, allocations: 4 kB / 1.021 GB, free: 13.69 MB / 0.7794 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 0.000119/0.6598, allocations: 125.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.6598, allocations: 7.906 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.6599, allocations: 12.31 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.6599, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6599, allocations: 3.938 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.6599, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.6601, allocations: 205.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6601, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.6602, allocations: 7.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6602, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.6602, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6602, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6602, allocations: 4.188 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.6605, allocations: 195.3 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.6606, allocations: 88.95 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.6606, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.6608, allocations: 19.97 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.6609, allocations: 19.91 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.6609, allocations: 4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.049e-05/0.661, allocations: 120.9 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.661, allocations: 3.938 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002342/0.6612, allocations: 16 kB / 1.022 GB, free: 12.77 MB / 0.7794 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 0.000126/0.6614, allocations: 99.78 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.6616, allocations: 63.91 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6616, allocations: 0 / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.6617, allocations: 35.97 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.662, allocations: 14.45 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.6625, allocations: 227.8 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.6629, allocations: 0.6931 MB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.164e-05/0.663, allocations: 7.984 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.663, allocations: 11.44 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.663, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.00394/0.667, allocations: 1.183 MB / 1.025 GB, free: 10.4 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches