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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 184.6 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 95.89 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.359e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3316, allocations: 142.4 MB / 1.206 GB, free: 44.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.405, allocations: 149.2 MB / 1.352 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.406, allocations: 87.67 kB / 1.352 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006056/1.412, allocations: 1.77 MB / 1.354 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.412, allocations: 0 / 1.354 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.412, allocations: 0 / 1.354 GB, free: 34 MB / 0.8386 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.0006311/1.412, allocations: 425.1 kB / 1.354 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.413, allocations: 11.06 kB / 1.354 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/1.413, allocations: 15.73 kB / 1.354 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.413, allocations: 180.9 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.413, allocations: 3.844 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/1.413, allocations: 4.359 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001155/1.413, allocations: 41.31 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/1.413, allocations: 77.98 kB / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.413, allocations: 0 / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/1.413, allocations: 0 / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/1.413, allocations: 11.86 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/1.414, allocations: 379.5 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.554e-05/1.414, allocations: 48.64 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/1.414, allocations: 20.42 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/1.414, allocations: 7.219 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/1.414, allocations: 35.17 kB / 1.355 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/1.414, allocations: 0 / 1.355 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.000194/1.414, allocations: 64.09 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/1.414, allocations: 51.41 kB / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.414, allocations: 123.8 kB / 1.355 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.414, allocations: 26.55 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/1.415, allocations: 109.1 kB / 1.355 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/1.415, allocations: 16.06 kB / 1.355 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/1.415, allocations: 5.641 kB / 1.355 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.415, allocations: 317.8 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/1.415, allocations: 22.98 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/1.415, allocations: 17.59 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/1.415, allocations: 12.53 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.415, allocations: 3.953 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/1.415, allocations: 73.36 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.415, allocations: 6.062 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/1.415, allocations: 0.5156 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.415, allocations: 4 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/1.415, allocations: 19.39 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/1.415, allocations: 0 / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/1.415, allocations: 27.41 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/1.415, allocations: 4.562 kB / 1.356 GB, free: 32.35 MB / 0.8386 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.193e-05/1.415, allocations: 108.9 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/1.415, allocations: 17.55 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/1.415, allocations: 13.41 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.415, allocations: 0 / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.415, allocations: 0.5625 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.415, allocations: 1 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.416, allocations: 172.8 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.416, allocations: 0 / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/1.416, allocations: 14.97 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.416, allocations: 3.953 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.416, allocations: 0.75 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.416, allocations: 1.234 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.416, allocations: 3.906 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/1.416, allocations: 157.6 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/1.416, allocations: 89.97 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/1.416, allocations: 11.89 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.416, allocations: 31.61 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/1.416, allocations: 18.55 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/1.416, allocations: 0.9219 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.14e-05/1.416, allocations: 109.7 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.416, allocations: 0 / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002098/1.417, allocations: 15.62 kB / 1.356 GB, free: 31.73 MB / 0.8386 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.0001148/1.417, allocations: 105.4 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001183/1.417, allocations: 42.88 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.417, allocations: 0 / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/1.417, allocations: 27.09 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/1.417, allocations: 13.23 kB / 1.357 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/1.417, allocations: 110 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/1.418, allocations: 0.701 MB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.515e-05/1.418, allocations: 5.406 kB / 1.357 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/1.418, allocations: 12.78 kB / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.418, allocations: 0 / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.003243/1.421, allocations: 0.9285 MB / 1.358 GB, free: 30.77 MB / 0.8386 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","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches