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.001397/0.001397, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00151/0.00151, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/0.8376, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002113/0.8398, allocations: 0.8817 MB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.8408, allocations: 0.8727 MB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.8408, allocations: 1.094 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.8409, allocations: 9.656 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.841, allocations: 19.61 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.8412, allocations: 35.23 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.8413, allocations: 114.2 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.8415, allocations: 34.91 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.8416, allocations: 47.5 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.8417, allocations: 55.2 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.8417, allocations: 10.03 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.8418, allocations: 11.41 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.8418, allocations: 18.88 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.8418, allocations: 54.33 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.842, allocations: 138.4 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.842, allocations: 0.7969 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8421, allocations: 0 / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.8421, allocations: 0 / 1.091 GB, free: 4.008 MB / 0.8575 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.0008402/0.8429, allocations: 458.3 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.843, allocations: 10.34 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.843, allocations: 14.67 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.8431, allocations: 177.2 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.8431, allocations: 7.156 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.8432, allocations: 8.969 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.8434, allocations: 96.08 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.8434, allocations: 192 / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.8434, allocations: 4.594 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.8434, allocations: 5.531 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.8436, allocations: 65.69 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.8443, allocations: 402.9 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.8445, allocations: 60.91 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.8446, allocations: 31.73 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.8446, allocations: 5.078 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.8446, allocations: 40.09 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.8446, allocations: 3.938 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003562/0.845, allocations: 109.8 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.845, allocations: 53.52 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.8451, allocations: 152.9 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.8452, allocations: 31.98 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.8452, allocations: 105.1 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.8452, allocations: 18.98 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.8453, allocations: 20.95 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.8453, allocations: 321.3 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.8454, allocations: 31.33 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.8455, allocations: 37.53 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.8457, allocations: 52.08 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8457, allocations: 4 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002037/0.8459, allocations: 94.11 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8459, allocations: 6.016 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.8459, allocations: 0.9375 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8459, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.846, allocations: 9.906 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8461, allocations: 4.688 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.8462, allocations: 31.31 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.8463, allocations: 1.75 kB / 1.093 GB, free: 2.031 MB / 0.8575 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 7.34e-05/0.8463, allocations: 123.4 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.8464, allocations: 8.641 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.8464, allocations: 12.83 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.8464, allocations: 1.031 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-06/0.8464, allocations: 8.594 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8464, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.8466, allocations: 204 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8466, allocations: 0 / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.8467, allocations: 8.844 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8467, allocations: 0.7188 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8467, allocations: 1.547 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8467, allocations: 1.344 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8467, allocations: 4.531 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.8469, allocations: 189.2 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.847, allocations: 87.44 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.847, allocations: 2.594 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.8472, allocations: 25.52 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.8473, allocations: 23.31 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.8473, allocations: 6.438 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.8474, allocations: 112.9 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8474, allocations: 0 / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002278/0.8476, allocations: 20.59 kB / 1.094 GB, free: 1.305 MB / 0.8575 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.0001023/0.8477, allocations: 103.4 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.848, allocations: 66.16 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.848, allocations: 0 / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8481, allocations: 40.72 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.8485, allocations: 9.703 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.849, allocations: 227.5 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.8491, allocations: 0.7008 MB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.8492, allocations: 14.14 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.8492, allocations: 0 / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of Templates: time 0.004144/0.8534, allocations: 1.299 MB / 1.096 GB, free: 176 kB / 0.8575 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/jenkins1/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