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.00104/0.00104, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001612/0.001612, allocations: 170.6 kB / 24.86 MB, free: 8.883 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.968/0.968, allocations: 177.2 MB / 205.3 MB, free: 5.473 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.851/1.851, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.473e-06/1.473e-06, allocations: 0 / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.728e-05, allocations: 7.812 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002325/0.002353, allocations: 1.542 MB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.003028, allocations: 465 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.003072, allocations: 4 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.003101, allocations: 4.594 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.003194, allocations: 10.39 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.003341, allocations: 19.91 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.003421, allocations: 55.78 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.003532, allocations: 11.94 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.003608, allocations: 31.95 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.00368, allocations: 15.92 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.003701, allocations: 4 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/0.003711, allocations: 5.562 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.003732, allocations: 11.98 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.003776, allocations: 23.91 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003884, allocations: 27.91 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003887, allocations: 0.5312 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003888, allocations: 1.375 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.003894, allocations: 0 / 0.8149 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.0004295/0.004323, allocations: 388.5 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.004362, allocations: 13.19 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.004395, allocations: 8.891 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.00449, allocations: 112.6 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004504, allocations: 5.344 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.004515, allocations: 8.375 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.229e-05/0.004607, allocations: 54.11 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004615, allocations: 1.094 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004622, allocations: 384 / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.004631, allocations: 8.969 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/0.00466, allocations: 11.98 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.005021, allocations: 277.5 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.005112, allocations: 47.03 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.005135, allocations: 19.78 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.005143, allocations: 1.938 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.005256, allocations: 80.98 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.005257, allocations: 0 / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000176/0.005433, allocations: 89.56 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.005477, allocations: 53.09 kB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.005559, allocations: 169.9 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.005575, allocations: 29.7 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.005629, allocations: 130.9 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.005655, allocations: 23.84 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.005695, allocations: 36.25 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.005837, allocations: 496.1 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.005858, allocations: 8.531 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.005893, allocations: 47.25 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.005961, allocations: 67.2 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005963, allocations: 1.188 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.851e-05/0.006062, allocations: 85.45 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.006076, allocations: 8 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.006081, allocations: 4.781 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.006092, allocations: 3.984 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.006153, allocations: 12.84 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006158, allocations: 4.062 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.006199, allocations: 13.28 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006204, allocations: 0 / 0.8171 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.498e-05/0.006289, allocations: 174.9 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.006303, allocations: 16.73 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.006328, allocations: 8.125 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00633, allocations: 1.094 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.006332, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.006336, allocations: 0 / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.006614, allocations: 327.3 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006615, allocations: 0 / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.006631, allocations: 4 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006633, allocations: 0 / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.006638, allocations: 1.406 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.006642, allocations: 3.984 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.006643, allocations: 0 / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.006767, allocations: 230.7 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.006777, allocations: 7.953 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.006787, allocations: 3.984 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.006831, allocations: 4.281 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.006864, allocations: 7.984 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.006871, allocations: 4 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.00691, allocations: 135.1 kB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.00691, allocations: 0 / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001468/0.007057, allocations: 20.44 kB / 0.818 GB, free: 11.79 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.502e-05/0.007152, allocations: 98.81 kB / 0.8181 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.007249, allocations: 48.75 kB / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007251, allocations: 0 / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.007286, allocations: 28.19 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.007495, allocations: 12.42 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.007756, allocations: 151.7 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.007792, allocations: 59.36 kB / 0.8184 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.007816, allocations: 3.984 kB / 0.8184 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.007873, allocations: 83.02 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.007874, allocations: 0 / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.002533/0.01041, allocations: 0.9256 MB / 0.8194 GB, free: 10.36 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.986743839923292]