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.001072/0.001072, allocations: 82.64 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.001418/0.001418, allocations: 181 kB / 24.09 MB, free: 420 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 1.021/1.021, allocations: 177.1 MB / 204.5 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.884/1.884, allocations: 377.9 MB / 0.624 GB, free: 8.395 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.503e-06/1.503e-06, allocations: 0 / 0.8119 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.087e-05, allocations: 2.969 kB / 0.8119 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001902/0.001923, allocations: 1.529 MB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.002518, allocations: 469.7 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.002557, allocations: 0 / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.002582, allocations: 3.984 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.00266, allocations: 7.875 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.002783, allocations: 29.31 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.002863, allocations: 51.84 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.002956, allocations: 19.91 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.003018, allocations: 23.92 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.00308, allocations: 21.44 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003099, allocations: 4 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.003108, allocations: 4 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.003127, allocations: 11.92 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.003154, allocations: 20.95 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.255e-05/0.003237, allocations: 31.89 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003239, allocations: 0.5312 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.71e-07/0.00324, allocations: 0 / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003244, allocations: 4.531 kB / 0.8141 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.000599/0.003843, allocations: 389.5 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.003878, allocations: 8.031 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.00391, allocations: 21.48 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.003976, allocations: 104.6 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.003988, allocations: 8.891 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.003997, allocations: 9.75 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.732e-05/0.004064, allocations: 46.19 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004071, allocations: 4.125 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.004079, allocations: 4.375 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.004085, allocations: 5.094 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.004106, allocations: 11.98 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.004363, allocations: 273.2 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.247e-05/0.004425, allocations: 51.11 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.004443, allocations: 16.58 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.00445, allocations: 4 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.833e-05/0.004538, allocations: 74.06 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.00454, allocations: 3.938 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001445/0.004684, allocations: 90.53 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.004722, allocations: 59.34 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.004785, allocations: 165.9 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.004798, allocations: 35.17 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.004839, allocations: 126.9 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.004861, allocations: 23.83 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.004896, allocations: 35.36 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005001, allocations: 0.4935 MB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.005014, allocations: 4 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.005048, allocations: 50.67 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.005097, allocations: 65.72 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.005098, allocations: 4 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.26e-05/0.005181, allocations: 89.5 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.005193, allocations: 4 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.0052, allocations: 4 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.005212, allocations: 0 / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.00527, allocations: 15.94 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.005273, allocations: 0.5 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.005306, allocations: 9.922 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.005312, allocations: 8 kB / 0.8163 GB, free: 12.78 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.781e-05/0.00538, allocations: 160.5 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.005392, allocations: 19.89 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.005416, allocations: 13.75 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.005419, allocations: 4 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.00542, allocations: 0 / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.005424, allocations: 3.984 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.005651, allocations: 310.8 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.005652, allocations: 0 / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.005668, allocations: 15.92 kB / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.005671, allocations: 0.8438 kB / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.005675, allocations: 0 / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005676, allocations: 5.281 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005677, allocations: 0 / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.005779, allocations: 235.7 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.005787, allocations: 4.797 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.005794, allocations: 0 / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.005828, allocations: 4 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.005857, allocations: 10.83 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.005863, allocations: 7.984 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.135e-05/0.005895, allocations: 127.2 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005895, allocations: 0 / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001363/0.006031, allocations: 12 kB / 0.8172 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.871e-05/0.00611, allocations: 108.5 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.006187, allocations: 43.59 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006188, allocations: 0 / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.00622, allocations: 32.22 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.0001777/0.006398, allocations: 11.94 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.006634, allocations: 155.3 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.006666, allocations: 59.34 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.006686, allocations: 4 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.006737, allocations: 79.33 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.006737, allocations: 0 / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.002309/0.009046, allocations: 0.8922 MB / 0.8186 GB, free: 10.4 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.947184507735074]