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.001083/0.001083, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.00102/0.00102, allocations: 169 kB / 23.82 MB, free: 0.7539 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 1.041/1.041, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.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 3.416e-06/3.416e-06, allocations: 0 / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.304e-05, allocations: 7.25 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001839/0.001872, allocations: 0.7472 MB / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.003476, allocations: 1.304 MB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.003544, allocations: 0 / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.003584, allocations: 8.766 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.003679, allocations: 27.73 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.004367, allocations: 237.5 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.004664, allocations: 260.7 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.004766, allocations: 12.22 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.007988, allocations: 147.8 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.008169, allocations: 82.16 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.008207, allocations: 16 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.008301, allocations: 43.91 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.008337, allocations: 23.95 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.008443, allocations: 67.88 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.008704, allocations: 168.1 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.00871, allocations: 1.531 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.322e-06/0.008711, allocations: 0 / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.008716, allocations: 3.938 kB / 0.8146 GB, free: 14.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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007126/0.009429, allocations: 0.5203 MB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.009471, allocations: 8.031 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.009563, allocations: 32.88 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.009782, allocations: 157 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.009808, allocations: 8.906 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.009844, allocations: 24.36 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.01006, allocations: 147 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.01007, allocations: 192 / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.01009, allocations: 5.188 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.0101, allocations: 384 / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.01019, allocations: 48.42 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.01385, allocations: 0.5193 MB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.01408, allocations: 139.3 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.01415, allocations: 55.38 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.01416, allocations: 0.75 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.01444, allocations: 202.7 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.01444, allocations: 0 / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0004907/0.01494, allocations: 292.9 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.01499, allocations: 85.95 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.01511, allocations: 189.8 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.01514, allocations: 37.7 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.01522, allocations: 145 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.01526, allocations: 55.8 kB / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.01537, allocations: 75.33 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.01552, allocations: 0.5 MB / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.01569, allocations: 128.6 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.01589, allocations: 230.1 kB / 0.8181 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.01613, allocations: 247.8 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01614, allocations: 0 / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003517/0.01965, allocations: 420.4 kB / 0.8187 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.01971, allocations: 71.39 kB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01972, allocations: 0 / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01974, allocations: 4 kB / 0.8188 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01984, allocations: 23.92 kB / 0.8188 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.01985, allocations: 5.344 kB / 0.8188 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.02007, allocations: 57.09 kB / 0.8189 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.02011, allocations: 23.97 kB / 0.8189 GB, free: 9.801 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 0.0001431/0.02025, allocations: 191.3 kB / 0.8191 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.02029, allocations: 28.78 kB / 0.8191 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.02033, allocations: 16.44 kB / 0.8191 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.02034, allocations: 5.281 kB / 0.8191 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.02034, allocations: 0 / 0.8191 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02035, allocations: 0 / 0.8191 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.02087, allocations: 0.622 MB / 0.8197 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.02088, allocations: 7.984 kB / 0.8198 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.02092, allocations: 10.28 kB / 0.8198 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.02092, allocations: 4 kB / 0.8198 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.02094, allocations: 7.984 kB / 0.8198 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.02094, allocations: 4 kB / 0.8198 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.02094, allocations: 80 / 0.8198 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.02131, allocations: 0.5046 MB / 0.8203 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.02133, allocations: 14.97 kB / 0.8203 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.02136, allocations: 11.98 kB / 0.8203 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.02148, allocations: 11.98 kB / 0.8203 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.02155, allocations: 23.95 kB / 0.8203 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.02157, allocations: 15.98 kB / 0.8203 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.02162, allocations: 137.9 kB / 0.8205 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02162, allocations: 0 / 0.8205 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003562/0.02198, allocations: 59.94 kB / 0.8205 GB, free: 8.074 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.0001652/0.02215, allocations: 125.2 kB / 0.8207 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003419/0.02556, allocations: 370.9 kB / 0.821 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.02557, allocations: 4 kB / 0.821 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.02569, allocations: 88.03 kB / 0.8211 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.02608, allocations: 34.41 kB / 0.8211 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.02657, allocations: 273.9 kB / 0.8214 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.075e-05/0.02663, allocations: 71.86 kB / 0.8215 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.979e-05/0.02669, allocations: 21.2 kB / 0.8215 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.02673, allocations: 16.5 kB / 0.8215 GB, free: 7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/0.02674, allocations: 0 / 0.8215 GB, free: 7 MB / 0.7761 GB Notification: Performance of Templates: time 0.006696/0.03343, allocations: 3.089 MB / 0.8245 GB, free: 3.996 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.284409958869219]