Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 164.9 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00097/0.0009704, allocations: 100.3 kB / 0.6715 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.502e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7641/0.9901, allocations: 132.8 MB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.9904, allocations: 86.56 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005006/0.9954, allocations: 1.8 MB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9954, allocations: 8 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.9954, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 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.0006085/0.996, allocations: 420.8 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.9961, allocations: 16.02 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.9961, allocations: 11.86 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.9963, allocations: 181.5 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.9964, allocations: 4 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.9964, allocations: 4 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.9965, allocations: 51.44 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.9967, allocations: 67.67 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.9967, allocations: 0.875 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.9967, allocations: 7.984 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.9967, allocations: 3.953 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.9974, allocations: 372.6 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.9976, allocations: 53.14 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.9976, allocations: 18.92 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.9976, allocations: 2.734 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.9977, allocations: 30.56 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.9977, allocations: 0 / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.000188/0.9979, allocations: 71.53 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.9979, allocations: 55.41 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.998, allocations: 129.5 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.998, allocations: 29.7 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.9981, allocations: 109.2 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.9981, allocations: 11.81 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.9982, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9983, allocations: 317.7 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.9983, allocations: 22.12 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.9983, allocations: 14.62 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.9984, allocations: 15.48 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9984, allocations: 7.953 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001104/0.9985, allocations: 71.22 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.9985, allocations: 4 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.9985, allocations: 4 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9986, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.9987, allocations: 15.92 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9987, allocations: 0.7812 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.9989, allocations: 31.97 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.9989, allocations: 0 / 1.019 GB, free: 1.281 MB / 0.6355 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.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.999, allocations: 112.5 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.999, allocations: 15.84 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.999, allocations: 6.875 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.999, allocations: 4 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9991, allocations: 7.938 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.9991, allocations: 3.938 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.9992, allocations: 170.2 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9992, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.9993, allocations: 11.98 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9993, allocations: 3.953 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.9993, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.9994, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9994, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.9995, allocations: 172.5 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.9996, allocations: 81.02 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.9996, allocations: 3.953 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.9998, allocations: 39.41 kB / 1.019 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.9999, allocations: 15.97 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.9999, allocations: 3.938 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.9999, allocations: 105.4 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1, allocations: 0 / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002138/1, allocations: 15.94 kB / 1.02 GB, free: 0.4922 MB / 0.6355 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/1, allocations: 97.78 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000117/1, allocations: 48.19 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1, allocations: 4 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/1, allocations: 25.98 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/1.001, allocations: 4.391 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/1.001, allocations: 113.5 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/1.001, allocations: 0.7041 MB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.51e-05/1.001, allocations: 4.188 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/1.001, allocations: 11.44 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.001, allocations: 3.938 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.002956/1.004, allocations: 0.9449 MB / 1.021 GB, free: 14.54 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches