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.001036/0.001036, allocations: 83.59 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.001627/0.001627, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9597/0.9597, allocations: 177.2 MB / 204.2 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.819/1.819, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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 2.033e-06/2.033e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.124e-05, allocations: 9.547 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002959/0.00299, allocations: 1.54 MB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.003874, allocations: 468.1 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.00392, allocations: 3.938 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.003959, allocations: 5.531 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.004059, allocations: 15.91 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.004253, allocations: 11.98 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.004334, allocations: 51.84 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.004426, allocations: 16.64 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.004494, allocations: 35.84 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.004553, allocations: 12.52 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.004575, allocations: 9.406 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.004586, allocations: 8 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.004606, allocations: 11.97 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.004643, allocations: 15.98 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.004739, allocations: 32.42 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004742, allocations: 1.375 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004744, allocations: 0 / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004748, allocations: 0 / 0.8137 GB, free: 15.54 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.0004768/0.005225, allocations: 385.7 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.005269, allocations: 8.031 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.005316, allocations: 16.88 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.005407, allocations: 110 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005421, allocations: 8.312 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.005432, allocations: 8.359 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/0.005519, allocations: 58.17 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.005526, allocations: 1.594 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.005535, allocations: 384 / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.005543, allocations: 3.938 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.005579, allocations: 19.92 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.005914, allocations: 293.5 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.005998, allocations: 51.08 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.006029, allocations: 27.67 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.006036, allocations: 1.156 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.883e-05/0.006135, allocations: 77.06 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.006136, allocations: 0 / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001762/0.006312, allocations: 99.47 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.006349, allocations: 51.41 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.006421, allocations: 165.9 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.006435, allocations: 29.7 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.006482, allocations: 130.9 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.006504, allocations: 26.28 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.006541, allocations: 31.38 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.006657, allocations: 496.1 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.006682, allocations: 12 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.006725, allocations: 54.67 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.505e-05/0.00679, allocations: 63.27 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006792, allocations: 3.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001021/0.006894, allocations: 95.44 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.006908, allocations: 8 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.006913, allocations: 0 / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.006927, allocations: 0 / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.007002, allocations: 18.06 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.007009, allocations: 7.938 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.007045, allocations: 11.98 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.007051, allocations: 4.266 kB / 0.816 GB, free: 12.99 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 7.058e-05/0.007121, allocations: 168.5 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.007133, allocations: 20.42 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.007154, allocations: 8.656 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007156, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.00716, allocations: 0.9062 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007164, allocations: 3.984 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.007417, allocations: 346.1 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007419, allocations: 0 / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.007434, allocations: 9.125 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.007437, allocations: 4 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.007443, allocations: 0 / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007444, allocations: 0.8438 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007445, allocations: 0 / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.007559, allocations: 238.9 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.007567, allocations: 7.953 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.007577, allocations: 0 / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.007616, allocations: 7.984 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.007653, allocations: 11.98 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.007659, allocations: 0 / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.007693, allocations: 123.2 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007693, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001467/0.00784, allocations: 16 kB / 0.8169 GB, free: 11.98 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 8.448e-05/0.007924, allocations: 101.6 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.008034, allocations: 47.61 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008035, allocations: 0 / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.008075, allocations: 36.17 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.008266, allocations: 16.89 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.008519, allocations: 146.2 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.008554, allocations: 60.44 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.008577, allocations: 4 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.008608, allocations: 13.56 kB / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.008609, allocations: 0 / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002957/0.01157, allocations: 0.893 MB / 0.8182 GB, free: 10.65 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.841201080940664]