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.00129/0.00129, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001676/0.001676, allocations: 161 kB / 23.81 MB, free: 0.7539 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.8726/0.8726, allocations: 177.2 MB / 204.2 MB, free: 5.645 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.787/1.787, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.803e-06/1.803e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.895e-05, allocations: 5.969 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001438/0.001457, allocations: 0.9221 MB / 0.8124 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.002352, allocations: 0.9417 MB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.002421, allocations: 4 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.002462, allocations: 15.8 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.002556, allocations: 13.41 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.002782, allocations: 51.88 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.002908, allocations: 135.5 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003017, allocations: 29.72 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.003192, allocations: 84.3 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.003268, allocations: 44.59 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.00329, allocations: 12.53 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.003331, allocations: 12 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.003359, allocations: 33.5 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.003391, allocations: 31.92 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.003525, allocations: 91.58 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003527, allocations: 0 / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003528, allocations: 0.5625 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.003531, allocations: 0 / 0.8139 GB, free: 15.32 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.0004148/0.003946, allocations: 453.3 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.00398, allocations: 8.031 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.004129, allocations: 33.98 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.004278, allocations: 149 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.00429, allocations: 9.688 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.004305, allocations: 12.38 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.004449, allocations: 93.31 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004456, allocations: 4.188 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.004468, allocations: 5.531 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.004475, allocations: 0 / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.004535, allocations: 31.97 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.004925, allocations: 369 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.005079, allocations: 63.11 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.005116, allocations: 28.61 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.005128, allocations: 0 / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.005148, allocations: 37.39 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.005149, allocations: 2.125 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001807/0.00533, allocations: 78.17 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.005359, allocations: 59.34 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.005454, allocations: 199.7 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.005471, allocations: 25.7 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.005529, allocations: 164.9 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.005548, allocations: 15.91 kB / 0.8157 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.005586, allocations: 35.36 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005691, allocations: 0.4961 MB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.005718, allocations: 8 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.005742, allocations: 11.98 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.005793, allocations: 32.31 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005795, allocations: 0.5312 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.282e-05/0.005887, allocations: 81.52 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.005899, allocations: 5.938 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.005904, allocations: 4.078 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005916, allocations: 3.938 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.005965, allocations: 15.92 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.00597, allocations: 3.984 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.006001, allocations: 10.16 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.006008, allocations: 0 / 0.8163 GB, free: 12.62 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.679e-05/0.006075, allocations: 164.6 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.006093, allocations: 7.953 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.006118, allocations: 17.84 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006121, allocations: 3.938 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.006125, allocations: 0 / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.00613, allocations: 8.625 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.006252, allocations: 152.5 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006253, allocations: 0.9688 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.006285, allocations: 11.98 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006287, allocations: 0.8438 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.006294, allocations: 0 / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006296, allocations: 7.406 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006298, allocations: 3.938 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.006428, allocations: 219.8 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.006438, allocations: 7.953 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.006458, allocations: 0 / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.006502, allocations: 8 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.006549, allocations: 15.91 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.006557, allocations: 11.98 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.006608, allocations: 145.2 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006608, allocations: 2.219 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001527/0.00676, allocations: 19.89 kB / 0.8171 GB, free: 11.77 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.543e-05/0.006836, allocations: 107.2 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.006945, allocations: 47.55 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006946, allocations: 0.9375 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.006982, allocations: 31.61 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.007163, allocations: 5.125 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.00769, allocations: 231.4 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.007726, allocations: 65.98 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.007761, allocations: 6 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.0078, allocations: 18.17 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.007801, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.002668/0.01047, allocations: 1.122 MB / 0.8187 GB, free: 10.11 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.825706569943577]