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.0009368/0.0009368, allocations: 87.56 kB / 20.46 MB, free: 4.129 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.0008976/0.0008976, allocations: 161 kB / 23.82 MB, free: 0.7656 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.9137/0.9137, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.953/1.953, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] 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.222e-06/1.222e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.534e-05, allocations: 8.922 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001749/0.001765, allocations: 1.552 MB / 0.813 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.00237, allocations: 469.1 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.002408, allocations: 0 / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.002437, allocations: 3.938 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.002514, allocations: 12.75 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.002653, allocations: 19.95 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.002726, allocations: 49.11 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.002817, allocations: 15.92 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.002876, allocations: 35.84 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.002933, allocations: 17.44 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.002951, allocations: 8 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.002961, allocations: 4 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.00298, allocations: 11.92 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.003014, allocations: 17.48 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.509e-05/0.003099, allocations: 31.89 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.0031, allocations: 0 / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.32e-07/0.003101, allocations: 0 / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.003105, allocations: 1.906 kB / 0.8137 GB, free: 15.52 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.0003956/0.003501, allocations: 384.5 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.003533, allocations: 8.031 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.003572, allocations: 12.89 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.54e-05/0.003658, allocations: 118 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.00367, allocations: 4.375 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.003684, allocations: 8.375 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.003763, allocations: 46.25 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.003773, allocations: 1.531 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.003783, allocations: 4.359 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.003791, allocations: 3.938 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.76e-05/0.003829, allocations: 19.92 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.004148, allocations: 292.9 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.004222, allocations: 53.02 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.004254, allocations: 27.75 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.004261, allocations: 0 / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.25e-05/0.004354, allocations: 76.97 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.004354, allocations: 0 / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001812/0.004536, allocations: 98.09 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.004568, allocations: 52.12 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.004636, allocations: 165.9 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.004649, allocations: 31.05 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.004691, allocations: 130.9 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.004712, allocations: 19.86 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.004747, allocations: 35.36 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.004848, allocations: 492.8 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.00487, allocations: 21.05 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.00491, allocations: 50.73 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.004974, allocations: 67.61 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004976, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.767e-05/0.005074, allocations: 94.22 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.005086, allocations: 8 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00509, allocations: 1.281 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.005103, allocations: 0 / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.005172, allocations: 23.92 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.005178, allocations: 4.875 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.005211, allocations: 8 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.005217, allocations: 4.938 kB / 0.816 GB, free: 12.97 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.737e-05/0.005284, allocations: 171.1 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.005294, allocations: 13.23 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.005316, allocations: 8.125 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005317, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.00532, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005323, allocations: 0.9688 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.00556, allocations: 349.3 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005561, allocations: 6.25 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.005574, allocations: 3.938 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005575, allocations: 4 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.005583, allocations: 3.984 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005584, allocations: 3.984 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005585, allocations: 0 / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.005694, allocations: 243.2 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.005701, allocations: 3.953 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.005709, allocations: 0 / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.005744, allocations: 4 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.005782, allocations: 11.98 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.005786, allocations: 0 / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.005819, allocations: 127.2 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005819, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001504/0.005969, allocations: 16 kB / 0.8169 GB, free: 11.96 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 6.65e-05/0.006036, allocations: 95.97 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.006132, allocations: 52.09 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.006134, allocations: 4.562 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.00617, allocations: 32.73 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.006357, allocations: 16.92 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.006596, allocations: 147.2 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.00663, allocations: 59.34 kB / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.00665, allocations: 9.078 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.006677, allocations: 16.44 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.006678, allocations: 0.6562 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.002199/0.008877, allocations: 0.8386 MB / 0.8181 GB, free: 10.68 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: 5.204054785426706]