Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001397/0.001397, allocations: 84.3 kB / 21.47 MB, free: 3.023 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.001155/0.001155, allocations: 169.5 kB / 24.87 MB, free: 8.746 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.9942/0.9942, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.975/1.975, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.372e-05, allocations: 8.922 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001852/0.001885, allocations: 0.7319 MB / 0.8135 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.003457, allocations: 1.304 MB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.003556, allocations: 5.094 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.003589, allocations: 3.938 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.003676, allocations: 23.78 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.004165, allocations: 245.4 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.004394, allocations: 256.8 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.004486, allocations: 12.22 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.004641, allocations: 147.8 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.004778, allocations: 81.14 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.004809, allocations: 20 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.004875, allocations: 28.47 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.00491, allocations: 41.22 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.004975, allocations: 63.94 kB / 0.8157 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005151, allocations: 163.6 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.005153, allocations: 3.938 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005154, allocations: 1.938 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.005158, allocations: 0 / 0.8158 GB, free: 14.33 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00051/0.005668, allocations: 0.5152 MB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005702, allocations: 14.03 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.005762, allocations: 32.81 kB / 0.8164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.00593, allocations: 160.5 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.005951, allocations: 16.36 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.00598, allocations: 20.38 kB / 0.8166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.006121, allocations: 137.9 kB / 0.8167 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.006129, allocations: 4.125 kB / 0.8167 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.00614, allocations: 0.9062 kB / 0.8167 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.006147, allocations: 5.094 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.457e-05/0.006202, allocations: 43.89 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.006657, allocations: 0.4972 MB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.006809, allocations: 122.6 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.006849, allocations: 40.73 kB / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.006858, allocations: 15.92 kB / 0.8174 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.00706, allocations: 189.4 kB / 0.8176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.007061, allocations: 0.9062 kB / 0.8176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003199/0.007381, allocations: 269.4 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.007423, allocations: 81.89 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.007504, allocations: 197.8 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.007548, allocations: 38.89 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.00761, allocations: 143.4 kB / 0.8183 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.007648, allocations: 55.61 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.007729, allocations: 75.33 kB / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.007841, allocations: 0.5009 MB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.007937, allocations: 111.6 kB / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.0081, allocations: 218.4 kB / 0.8192 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.00826, allocations: 237.4 kB / 0.8194 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.008263, allocations: 0 / 0.8194 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003227/0.008585, allocations: 386.5 kB / 0.8198 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.008623, allocations: 69.73 kB / 0.8199 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.008628, allocations: 3.938 kB / 0.8199 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.008638, allocations: 4 kB / 0.8199 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.008702, allocations: 23.98 kB / 0.8199 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.008707, allocations: 7.938 kB / 0.8199 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.008868, allocations: 57.72 kB / 0.82 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.00889, allocations: 15.98 kB / 0.82 GB, free: 9.688 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.849e-05/0.008988, allocations: 191.8 kB / 0.8202 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.009014, allocations: 23.94 kB / 0.8202 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.009045, allocations: 17.09 kB / 0.8202 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009048, allocations: 7.172 kB / 0.8202 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.009051, allocations: 4 kB / 0.8202 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009055, allocations: 0 / 0.8202 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.009478, allocations: 0.5938 MB / 0.8208 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.00948, allocations: 3.938 kB / 0.8208 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.009505, allocations: 4 kB / 0.8208 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.009508, allocations: 4 kB / 0.8208 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.00952, allocations: 11.98 kB / 0.8208 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009522, allocations: 2.406 kB / 0.8208 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009523, allocations: 0 / 0.8208 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.009778, allocations: 0.4887 MB / 0.8213 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.009789, allocations: 15.91 kB / 0.8213 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.009813, allocations: 11.98 kB / 0.8213 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.009891, allocations: 11.98 kB / 0.8213 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.009937, allocations: 24.92 kB / 0.8214 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.009949, allocations: 11.98 kB / 0.8214 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.009988, allocations: 139.2 kB / 0.8215 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009989, allocations: 1.094 kB / 0.8215 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002406/0.01023, allocations: 59.86 kB / 0.8216 GB, free: 8.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 0.0001359/0.01037, allocations: 120.2 kB / 0.8217 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.01063, allocations: 346.8 kB / 0.822 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01063, allocations: 0.9688 kB / 0.822 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.0107, allocations: 78.47 kB / 0.8221 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01096, allocations: 37.97 kB / 0.8221 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.01129, allocations: 258 kB / 0.8224 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.01133, allocations: 74.2 kB / 0.8224 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.01137, allocations: 18.11 kB / 0.8225 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.01149, allocations: 119.8 kB / 0.8226 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.01149, allocations: 4 kB / 0.8226 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of Templates: time 0.004752/0.01625, allocations: 3.171 MB / 0.8257 GB, free: 3.797 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.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.355386740062386]