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.001005/0.001005, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001041/0.001041, allocations: 169 kB / 24.28 MB, free: 276 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.9484/0.9484, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.83/1.83, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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.242e-06/1.242e-06, allocations: 0 / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.077e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001779/0.0018, allocations: 1.531 MB / 0.813 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005708/0.00237, allocations: 472.3 kB / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.002408, allocations: 0 / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.002434, allocations: 3.938 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.002506, allocations: 5.688 kB / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.002641, allocations: 27.89 kB / 0.8135 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.002721, allocations: 47.84 kB / 0.8135 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.002811, allocations: 11.94 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.002888, allocations: 37.27 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.002943, allocations: 11.92 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.002965, allocations: 4 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.002974, allocations: 6.5 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.002994, allocations: 11.98 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.003029, allocations: 19.92 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.625e-05/0.003116, allocations: 35.73 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003118, allocations: 0 / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003118, allocations: 0 / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003122, allocations: 0 / 0.8136 GB, free: 15.91 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.0006187/0.003741, allocations: 385.2 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.003774, allocations: 12.56 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.003812, allocations: 8.891 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.003898, allocations: 118.2 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.00391, allocations: 8.375 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.00392, allocations: 4.375 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.004001, allocations: 54.11 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.004007, allocations: 4.844 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.004016, allocations: 384 / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.004023, allocations: 5.031 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.004061, allocations: 19.98 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.004384, allocations: 288.8 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.004461, allocations: 55.08 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.004491, allocations: 21 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.004497, allocations: 0 / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.548e-05/0.004592, allocations: 81.12 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 3.938e-06/0.004596, allocations: 1.156 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000174/0.00477, allocations: 93.56 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.004803, allocations: 51.41 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.004871, allocations: 166.6 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.004884, allocations: 29.7 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.004922, allocations: 131.5 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.004943, allocations: 23.84 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.004977, allocations: 36.2 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.005076, allocations: 0.4884 MB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.005097, allocations: 9.906 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.005139, allocations: 54.67 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.308e-05/0.005202, allocations: 74.84 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005204, allocations: 0 / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.26e-05/0.005297, allocations: 94.17 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.005311, allocations: 14.64 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005315, allocations: 2.375 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.005327, allocations: 0 / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.005391, allocations: 16.06 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.005397, allocations: 4 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.005429, allocations: 4 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005433, allocations: 0 / 0.8159 GB, free: 13.36 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.318e-05/0.005496, allocations: 174.3 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.005509, allocations: 19.89 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.005529, allocations: 8.125 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005531, allocations: 0 / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.005535, allocations: 0.5 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.005539, allocations: 0 / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.00578, allocations: 337.8 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005781, allocations: 1.875 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.005794, allocations: 7.984 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005797, allocations: 4 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.005802, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005804, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005806, allocations: 4.656 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.005915, allocations: 231.8 kB / 0.8167 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.005923, allocations: 8.609 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.005933, allocations: 3.688 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.005969, allocations: 8 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.006004, allocations: 11.92 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.006009, allocations: 3.984 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.006042, allocations: 127.2 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006042, allocations: 0 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001488/0.006191, allocations: 12 kB / 0.8168 GB, free: 12.36 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.16e-05/0.006263, allocations: 105.6 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.006363, allocations: 53.59 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006364, allocations: 0 / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.006404, allocations: 32.17 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.006597, allocations: 12.36 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.006868, allocations: 158.7 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.006902, allocations: 63.34 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.006923, allocations: 5.125 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.00695, allocations: 12.5 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.006951, allocations: 0 / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of Templates: time 0.003085/0.01004, allocations: 0.8398 MB / 0.8181 GB, free: 11.06 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: 4.907549588009715]