Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.001533/0.001533, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001151/0.001151, allocations: 165.4 kB / 24.87 MB, free: 9.281 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.9739/0.9739, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.925/1.925, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8127 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.653e-05, allocations: 7.281 kB / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001877/0.001893, allocations: 1.533 MB / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00063/0.002523, allocations: 468.6 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.002559, allocations: 0 / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.002585, allocations: 8.797 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.002659, allocations: 3.938 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.002779, allocations: 24.69 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.002845, allocations: 51.84 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.951e-05/0.002924, allocations: 13.61 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.002983, allocations: 35.91 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.003037, allocations: 19.91 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.003055, allocations: 4 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.003065, allocations: 8 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.003083, allocations: 5.531 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.003111, allocations: 19.97 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.6e-05/0.003187, allocations: 31.89 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003189, allocations: 0 / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.2e-07/0.003189, allocations: 0.5 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003193, allocations: 1.75 kB / 0.8149 GB, free: 15.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003572/0.00355, allocations: 384.5 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.003586, allocations: 8.031 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.003616, allocations: 12.89 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.003697, allocations: 113.5 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.003707, allocations: 4.375 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.003718, allocations: 8.984 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.628e-05/0.003784, allocations: 42.25 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.00379, allocations: 1.781 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003799, allocations: 4.375 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003806, allocations: 11.88 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.003833, allocations: 15.92 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.004103, allocations: 274.8 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.004167, allocations: 51.08 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.004192, allocations: 19.7 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.004197, allocations: 0 / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.79e-05/0.004285, allocations: 77.03 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.004286, allocations: 0.5312 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001376/0.004424, allocations: 86.28 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.004457, allocations: 59.41 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.004518, allocations: 162.4 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.004529, allocations: 31.27 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.004571, allocations: 134.9 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.004591, allocations: 23.83 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.004626, allocations: 35.36 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.00473, allocations: 496.1 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.004743, allocations: 8.594 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.004777, allocations: 51.38 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.004828, allocations: 59.39 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.00483, allocations: 0 / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.188e-05/0.004911, allocations: 94.78 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.004921, allocations: 8 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.004926, allocations: 5.438 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.004934, allocations: 4 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.004983, allocations: 11.94 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.004987, allocations: 4 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.005018, allocations: 8.797 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.005021, allocations: 0 / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.617e-05/0.005087, allocations: 177.4 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.005102, allocations: 15.89 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.005118, allocations: 5.344 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.00512, allocations: 0 / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.005121, allocations: 0 / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005126, allocations: 4.828 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.005335, allocations: 321.9 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005336, allocations: 2.219 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.005349, allocations: 7.984 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005351, allocations: 0 / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.005356, allocations: 4 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005357, allocations: 0 / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005358, allocations: 0 / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.005464, allocations: 234.6 kB / 0.8178 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.005472, allocations: 7.953 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.005481, allocations: 4 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.005513, allocations: 4 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.00554, allocations: 3.984 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005543, allocations: 4 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.005578, allocations: 131.2 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005579, allocations: 0 / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001472/0.005726, allocations: 13.47 kB / 0.818 GB, free: 11.81 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.039e-05/0.005796, allocations: 95.25 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.31e-05/0.005879, allocations: 52.72 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.005881, allocations: 0.5625 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.005911, allocations: 27.61 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.006088, allocations: 17.12 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.006306, allocations: 159.4 kB / 0.8183 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.006335, allocations: 55.36 kB / 0.8184 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.006356, allocations: 7.984 kB / 0.8184 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.006404, allocations: 75.3 kB / 0.8185 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.006405, allocations: 0 / 0.8185 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.002096/0.008501, allocations: 0.931 MB / 0.8194 GB, free: 10.38 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.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: 5.124521252233535]