Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 81.95 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 164.9 kB / 24.87 MB, free: 9.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9012/0.9012, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.816/1.816, allocations: 377.9 MB / 0.6247 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 4.875 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.363e-05, allocations: 3.406 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001519/0.001543, allocations: 0.9031 MB / 0.8136 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008505/0.002393, allocations: 0.9419 MB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.002452, allocations: 1.031 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.002485, allocations: 11.86 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.002576, allocations: 24.52 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.00275, allocations: 47.83 kB / 0.8146 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.002857, allocations: 133.3 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.002962, allocations: 29.72 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.003118, allocations: 83.8 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.003188, allocations: 45.41 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.003206, allocations: 8 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.003244, allocations: 16 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.003266, allocations: 27.91 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.003294, allocations: 33.67 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.003418, allocations: 95.58 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00342, allocations: 0 / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.22e-07/0.00342, allocations: 0 / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.003424, allocations: 0 / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003645/0.003788, allocations: 449.1 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.003818, allocations: 12.03 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.003945, allocations: 39.42 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.004069, allocations: 148.9 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.004078, allocations: 4.375 kB / 0.8157 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.004089, allocations: 12.31 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.004202, allocations: 92.8 kB / 0.8158 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.004209, allocations: 192 / 0.8158 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.00422, allocations: 12.44 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004226, allocations: 0.7188 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.004264, allocations: 19.98 kB / 0.8159 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.004586, allocations: 350.1 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.004733, allocations: 63.09 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.004769, allocations: 19.67 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.004782, allocations: 4.5 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.004804, allocations: 33.98 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.004805, allocations: 0 / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001582/0.004964, allocations: 78.52 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.004988, allocations: 51.41 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.00507, allocations: 200.8 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.005087, allocations: 29.7 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.005145, allocations: 162.7 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.005164, allocations: 25.25 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.005199, allocations: 27.36 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.005317, allocations: 0.4923 MB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.005337, allocations: 11.98 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.005354, allocations: 12.42 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.005395, allocations: 28.66 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.005396, allocations: 0 / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.734e-05/0.005474, allocations: 73.53 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.005485, allocations: 7.406 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.005488, allocations: 0 / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.005496, allocations: 4.844 kB / 0.8175 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.005543, allocations: 7.984 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.005546, allocations: 10.47 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.005579, allocations: 7.938 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.005585, allocations: 0 / 0.8175 GB, free: 12.4 MB / 0.7761 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 (9): * Single equations (assignments): 9 * 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.042e-05/0.005655, allocations: 164.6 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.005676, allocations: 7.953 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.0057, allocations: 19.5 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005702, allocations: 3.938 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005704, allocations: 3.938 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005706, allocations: 0 / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.005814, allocations: 129.2 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005815, allocations: 0 / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.005844, allocations: 15.92 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.005845, allocations: 1.562 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.005851, allocations: 4 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.005853, allocations: 4 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005853, allocations: 0 / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.005965, allocations: 220.3 kB / 0.818 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.005975, allocations: 9.484 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.005991, allocations: 4 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.006035, allocations: 8 kB / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.006073, allocations: 11.97 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.006078, allocations: 8.891 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.006122, allocations: 149.5 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006122, allocations: 0.6562 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001569/0.006279, allocations: 19.89 kB / 0.8182 GB, free: 11.58 MB / 0.7761 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 (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 Backend phase and start with SimCode phase: time 7.897e-05/0.006358, allocations: 114.9 kB / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.249e-05/0.006441, allocations: 31.67 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.006442, allocations: 0 / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.006474, allocations: 27.61 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.006653, allocations: 8 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.007131, allocations: 232 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.00717, allocations: 63.34 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.972e-05/0.00721, allocations: 10.05 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.007274, allocations: 82.19 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/0.007275, allocations: 0 / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.002685/0.009961, allocations: 1.193 MB / 0.82 GB, free: 9.801 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7946243938058615]