Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001075/0.001075, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001002/0.001002, allocations: 185.3 kB / 24.09 MB, free: 416 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.9632/0.9632, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.624 GB, free: 8.398 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.053e-05, allocations: 2.969 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003048/0.003068, allocations: 1.54 MB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004243, allocations: 472.1 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.004306, allocations: 0.7812 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.004346, allocations: 3.938 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.004467, allocations: 5.625 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.004645, allocations: 27.91 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.004735, allocations: 47.84 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00484, allocations: 15.92 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.004928, allocations: 33.44 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.005004, allocations: 15.97 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.005027, allocations: 4 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.005039, allocations: 4 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.005065, allocations: 9.578 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.005101, allocations: 23.92 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.005208, allocations: 39.81 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.005211, allocations: 0 / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.005212, allocations: 0 / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.005217, allocations: 4.625 kB / 0.8142 GB, free: 15.25 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.0004484/0.005665, allocations: 377.2 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.005708, allocations: 8.719 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.005747, allocations: 12.89 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.708e-05/0.005844, allocations: 113.6 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.005858, allocations: 4.375 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.00587, allocations: 4.375 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.445e-05/0.005964, allocations: 55.5 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005973, allocations: 192 / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.005981, allocations: 384 / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005989, allocations: 3.938 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.006027, allocations: 21.7 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.006393, allocations: 280.2 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.006477, allocations: 43.08 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.00651, allocations: 20.64 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.006519, allocations: 4 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.006634, allocations: 77.62 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.006635, allocations: 0.5 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000193/0.006828, allocations: 86.12 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.00688, allocations: 59.41 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.006978, allocations: 162.6 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.006994, allocations: 30.92 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.007051, allocations: 134.9 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.007078, allocations: 19.84 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.007126, allocations: 35.34 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.007266, allocations: 498.7 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.007289, allocations: 11.92 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.007338, allocations: 54.72 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.103e-05/0.007409, allocations: 54.69 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.007417, allocations: 4 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001262/0.007543, allocations: 93.97 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.007559, allocations: 4 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.007569, allocations: 8.781 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.007583, allocations: 0.5312 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.007661, allocations: 15.98 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.007665, allocations: 1.625 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.007714, allocations: 4 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.007721, allocations: 4 kB / 0.8164 GB, free: 12.77 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 8.875e-05/0.00781, allocations: 173.2 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.007827, allocations: 11.89 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.007854, allocations: 9.344 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.007859, allocations: 7.984 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.007862, allocations: 0 / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.007866, allocations: 5.203 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.00818, allocations: 318 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008182, allocations: 0 / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.008204, allocations: 4.844 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.008207, allocations: 0 / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.008213, allocations: 2.219 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.008215, allocations: 4 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.008218, allocations: 3.938 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.008657, allocations: 231.8 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.008667, allocations: 3.953 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.008681, allocations: 4 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.00875, allocations: 10.98 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.00879, allocations: 11.92 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.008796, allocations: 0 / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.008843, allocations: 127.1 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.008843, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002385/0.009082, allocations: 16 kB / 0.8173 GB, free: 11.8 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 9.329e-05/0.009175, allocations: 95.25 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.009288, allocations: 52.97 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009289, allocations: 0 / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.009333, allocations: 27.61 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.009619, allocations: 21.3 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.009879, allocations: 146.6 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.19e-05/0.009921, allocations: 59.34 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.009948, allocations: 5 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.01001, allocations: 78.19 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.01002, allocations: 0.6562 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.002864/0.01288, allocations: 0.9126 MB / 0.8186 GB, free: 10.38 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.759932151995599]