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.0009229/0.0009229, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.0009303/0.0009303, allocations: 165 kB / 24.28 MB, free: 272 kB / 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.9128/0.9128, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.82/1.82, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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 1.342e-06/1.342e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.085e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001495/0.001516, allocations: 0.9185 MB / 0.8124 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.002453, allocations: 0.9415 MB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.002516, allocations: 1.406 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.002552, allocations: 15.81 kB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.002642, allocations: 15.84 kB / 0.8134 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.002865, allocations: 52.61 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.003002, allocations: 132.6 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.003116, allocations: 33.66 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.003285, allocations: 80.41 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.003359, allocations: 39.88 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.00338, allocations: 16.53 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.003423, allocations: 12.5 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.003445, allocations: 31.84 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.00348, allocations: 41.16 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.003624, allocations: 95.66 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003626, allocations: 3.938 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003626, allocations: 2.344 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003631, allocations: 0 / 0.8139 GB, free: 15.64 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.0004501/0.004081, allocations: 456 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.004116, allocations: 8.031 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.004277, allocations: 37.45 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.004471, allocations: 162.6 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.004484, allocations: 4.375 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.004499, allocations: 12.38 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.004658, allocations: 96.97 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.004668, allocations: 5.156 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.00468, allocations: 0 / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.00469, allocations: 4 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.004757, allocations: 32.41 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.005169, allocations: 367.9 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.005327, allocations: 60.58 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.005364, allocations: 23.67 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.00538, allocations: 4.812 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.0054, allocations: 33.39 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.005401, allocations: 0.5312 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001901/0.005591, allocations: 87.48 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.00562, allocations: 55.34 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.00572, allocations: 199.8 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.005738, allocations: 29.7 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.0058, allocations: 159.9 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.005818, allocations: 15.91 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.005856, allocations: 35.36 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.005964, allocations: 0.493 MB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.00599, allocations: 4 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.006053, allocations: 103 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.006101, allocations: 32.3 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006104, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.413e-05/0.006198, allocations: 78.84 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.00621, allocations: 4 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006214, allocations: 4.016 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.006228, allocations: 8.75 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.006278, allocations: 15.98 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.006284, allocations: 5.609 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.006317, allocations: 7.938 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006323, allocations: 0 / 0.8164 GB, free: 12.82 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 6.811e-05/0.006391, allocations: 161.5 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.006412, allocations: 11.95 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.006438, allocations: 24.69 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.006442, allocations: 11.38 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.006445, allocations: 4 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006448, allocations: 0 / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.006566, allocations: 152.5 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006567, allocations: 0 / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.006595, allocations: 8 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006597, allocations: 0 / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.006606, allocations: 4 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006607, allocations: 3.984 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.006609, allocations: 4.438 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.006734, allocations: 209.8 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.006745, allocations: 11.95 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.006766, allocations: 7.984 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.006808, allocations: 3.938 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.006862, allocations: 23.91 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006866, allocations: 1.281 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.006919, allocations: 153.2 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006919, allocations: 0 / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001503/0.00707, allocations: 21.2 kB / 0.8172 GB, free: 11.96 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.061e-05/0.00714, allocations: 103.2 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.007251, allocations: 44.56 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007252, allocations: 3.938 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.007286, allocations: 20.53 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.007467, allocations: 11.98 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.008007, allocations: 236.1 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.008042, allocations: 63.34 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.008078, allocations: 10.17 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.008363, allocations: 23.59 kB / 0.8177 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.008364, allocations: 0 / 0.8177 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of Templates: time 0.002602/0.01097, allocations: 1.13 MB / 0.8188 GB, free: 10.31 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.92146935290657]