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.001455/0.001455, 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.001156/0.001156, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9946/0.9946, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.796/1.796, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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 2.895e-06/2.895e-06, allocations: 4 kB / 0.8115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.692e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002032/0.002058, allocations: 1.524 MB / 0.813 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.002696, allocations: 480.8 kB / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.002731, allocations: 0 / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.002759, allocations: 8.875 kB / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.00284, allocations: 7.922 kB / 0.8134 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.00299, allocations: 24.72 kB / 0.8135 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.003068, allocations: 51.84 kB / 0.8135 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.003166, allocations: 5.656 kB / 0.8135 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.003239, allocations: 39.89 kB / 0.8136 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.003302, allocations: 7.984 kB / 0.8136 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.003324, allocations: 4 kB / 0.8136 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.003334, allocations: 13.5 kB / 0.8136 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.003356, allocations: 11.98 kB / 0.8136 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.003393, allocations: 19.97 kB / 0.8136 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.003491, allocations: 35.83 kB / 0.8137 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003493, allocations: 0 / 0.8137 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003494, allocations: 1.219 kB / 0.8137 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003498, allocations: 0 / 0.8137 GB, free: 14.44 MB / 0.7292 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.0004025/0.003901, allocations: 377.8 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.003939, allocations: 12.03 kB / 0.814 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.003985, allocations: 12.86 kB / 0.814 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.999e-05/0.004075, allocations: 116.5 kB / 0.8141 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.004094, allocations: 9.094 kB / 0.8142 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.004108, allocations: 8.359 kB / 0.8142 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.004195, allocations: 46.77 kB / 0.8142 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.004201, allocations: 4.188 kB / 0.8142 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.004211, allocations: 6.031 kB / 0.8142 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.004218, allocations: 3.938 kB / 0.8142 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.745e-05/0.004256, allocations: 19.92 kB / 0.8142 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.004609, allocations: 284.3 kB / 0.8145 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.004694, allocations: 60.2 kB / 0.8146 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.004725, allocations: 23.67 kB / 0.8146 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.004734, allocations: 4 kB / 0.8146 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.004838, allocations: 70.2 kB / 0.8147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.00484, allocations: 0 / 0.8147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.000181/0.005021, allocations: 90.98 kB / 0.8147 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.00507, allocations: 59.34 kB / 0.8148 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.00515, allocations: 169.9 kB / 0.815 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.005163, allocations: 25.7 kB / 0.815 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.005208, allocations: 136.6 kB / 0.8151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.005232, allocations: 31.77 kB / 0.8152 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.005266, allocations: 27.38 kB / 0.8152 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.00538, allocations: 0.4884 MB / 0.8157 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.005401, allocations: 8 kB / 0.8157 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.005442, allocations: 53.11 kB / 0.8157 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.005511, allocations: 74.67 kB / 0.8158 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005513, allocations: 0 / 0.8158 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001026/0.005615, allocations: 93.5 kB / 0.8159 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.00563, allocations: 8 kB / 0.8159 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.005636, allocations: 1.906 kB / 0.8159 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005648, allocations: 0 / 0.8159 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.005722, allocations: 15.94 kB / 0.8159 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.005729, allocations: 7.984 kB / 0.8159 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.005767, allocations: 11.98 kB / 0.8159 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.005773, allocations: 0.7812 kB / 0.8159 GB, free: 11.89 MB / 0.7292 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.288e-05/0.005846, allocations: 166.9 kB / 0.8161 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.00586, allocations: 15.89 kB / 0.8161 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.005883, allocations: 12.06 kB / 0.8161 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.005885, allocations: 0 / 0.8161 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.005888, allocations: 3.938 kB / 0.8161 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.005891, allocations: 0 / 0.8161 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.006158, allocations: 347.8 kB / 0.8164 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.00616, allocations: 0 / 0.8164 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.006174, allocations: 4 kB / 0.8164 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.006178, allocations: 4 kB / 0.8164 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.006186, allocations: 4 kB / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.006188, allocations: 0 / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006189, allocations: 1.156 kB / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.006308, allocations: 231.8 kB / 0.8167 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.006315, allocations: 4 kB / 0.8167 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.006328, allocations: 4.688 kB / 0.8167 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.006369, allocations: 12.05 kB / 0.8167 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.006407, allocations: 8.641 kB / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.006413, allocations: 0.8438 kB / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.006449, allocations: 127.2 kB / 0.8168 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006449, allocations: 0 / 0.8168 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001516/0.006601, allocations: 17.86 kB / 0.8168 GB, free: 10.89 MB / 0.7292 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.127e-05/0.006682, allocations: 107.2 kB / 0.8169 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.006789, allocations: 48.17 kB / 0.817 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006791, allocations: 0.7188 kB / 0.817 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.006831, allocations: 35.61 kB / 0.817 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.007034, allocations: 18.89 kB / 0.817 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.007342, allocations: 167.1 kB / 0.8172 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.007378, allocations: 63.34 kB / 0.8173 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.007403, allocations: 5.125 kB / 0.8173 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.007435, allocations: 12.5 kB / 0.8173 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.007435, allocations: 0 / 0.8173 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.002495/0.00993, allocations: 0.8727 MB / 0.8181 GB, free: 9.547 MB / 0.7292 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.952522308100015]