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.0009367/0.0009367, allocations: 87.58 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.0009662/0.0009662, allocations: 161 kB / 23.82 MB, free: 0.75 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.9418/0.9418, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.837/1.837, 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 1.413e-06/1.413e-06, allocations: 0 / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.48e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001994/0.002019, allocations: 1.523 MB / 0.813 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.002672, allocations: 476.5 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.002709, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.002741, allocations: 3.938 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.002814, allocations: 5.281 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.00296, allocations: 27.89 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.003036, allocations: 51.86 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.003132, allocations: 21.5 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.003197, allocations: 27.91 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.003254, allocations: 15.98 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003273, allocations: 4 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.003282, allocations: 4.719 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.003304, allocations: 11.97 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.003336, allocations: 16.47 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.003433, allocations: 37.53 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003435, allocations: 0 / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003436, allocations: 3.938 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.00344, allocations: 0 / 0.8137 GB, free: 15.59 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.000688/0.004128, allocations: 385.1 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004163, allocations: 9.344 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.004201, allocations: 8.891 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.06e-05/0.004292, allocations: 120.6 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.004305, allocations: 4.375 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.004319, allocations: 5.531 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.004404, allocations: 58.12 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.004413, allocations: 192 / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.004425, allocations: 9.734 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.004434, allocations: 3.938 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.004471, allocations: 15.98 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.004829, allocations: 289.4 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.004913, allocations: 54.98 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.004946, allocations: 23.72 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.004953, allocations: 1.625 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.005058, allocations: 76.97 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.005059, allocations: 0 / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000184/0.005243, allocations: 97.56 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.005278, allocations: 56.31 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.005351, allocations: 161.9 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005363, allocations: 27.86 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.005408, allocations: 138.9 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.005427, allocations: 19.86 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.005464, allocations: 35.36 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.005574, allocations: 492.1 kB / 0.8157 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.005601, allocations: 19.92 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.136e-05/0.005642, allocations: 52.92 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.005706, allocations: 62.69 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.005709, allocations: 3.984 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001044/0.005814, allocations: 93.73 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.005827, allocations: 8 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005832, allocations: 0.5 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.005848, allocations: 4.531 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.00592, allocations: 13.92 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.005927, allocations: 4 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.005965, allocations: 8 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.005972, allocations: 7.984 kB / 0.8159 GB, free: 13.04 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.759e-05/0.006049, allocations: 174.7 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.006061, allocations: 11.89 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.006088, allocations: 8.125 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00609, allocations: 0 / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.006093, allocations: 0 / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006096, allocations: 4 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.006356, allocations: 350.5 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006358, allocations: 0 / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.006374, allocations: 4 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.006377, allocations: 4.578 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.006384, allocations: 0 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.006386, allocations: 0.9375 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006386, allocations: 0 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.006523, allocations: 240.6 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.006531, allocations: 3.953 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.00654, allocations: 0 / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.006578, allocations: 7.406 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.006616, allocations: 11.98 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.006621, allocations: 0 / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.006658, allocations: 131.1 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006658, allocations: 4 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001565/0.006814, allocations: 12 kB / 0.8168 GB, free: 12.03 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.808e-05/0.006892, allocations: 99.19 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.006999, allocations: 53.78 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.007, allocations: 0 / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.007038, allocations: 36.17 kB / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.007235, allocations: 11.94 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.007533, allocations: 158.3 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.007566, allocations: 59.36 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.007587, allocations: 9.078 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.007618, allocations: 12.5 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.007619, allocations: 0 / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.002454/0.01007, allocations: 0.8335 MB / 0.8181 GB, free: 10.74 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: 5.141937001142651]