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.001453/0.001453, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001232/0.001232, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.982/0.982, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.936/1.936, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.775e-06/2.775e-06, allocations: 0 / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.971e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00186/0.00189, allocations: 0.7386 MB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.003506, allocations: 1.3 MB / 0.8135 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.00359, allocations: 1.531 kB / 0.8135 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.003644, allocations: 11.98 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.471e-05/0.003739, allocations: 19.67 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.004446, allocations: 245 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.004751, allocations: 261.6 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004855, allocations: 12.22 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.005033, allocations: 139.8 kB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.005189, allocations: 83.8 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.00523, allocations: 24 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.208e-05/0.005312, allocations: 36.42 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.005348, allocations: 36.45 kB / 0.8144 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.005448, allocations: 75.88 kB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.005694, allocations: 188.3 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005696, allocations: 0 / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005698, allocations: 1.156 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.005703, allocations: 0 / 0.8146 GB, free: 14.89 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.0006521/0.006355, allocations: 0.5204 MB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.006396, allocations: 12.03 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.006484, allocations: 32.88 kB / 0.8152 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.00691, allocations: 190.3 kB / 0.8154 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.006938, allocations: 12.38 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.006976, allocations: 21.52 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.007198, allocations: 146.2 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.007207, allocations: 4.125 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.007226, allocations: 11.06 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.007237, allocations: 8.125 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.00733, allocations: 43.95 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.007989, allocations: 0.518 MB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.008221, allocations: 131.7 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.008299, allocations: 55.38 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.00831, allocations: 4 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.008597, allocations: 209.5 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.008599, allocations: 0 / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.000494/0.009093, allocations: 289.4 kB / 0.8168 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.009147, allocations: 87.7 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.009266, allocations: 196.2 kB / 0.817 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.017e-05/0.009306, allocations: 41.69 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.009377, allocations: 139.4 kB / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.009423, allocations: 51.64 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.009538, allocations: 83.33 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.009677, allocations: 0.5 MB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.009858, allocations: 128.3 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.01008, allocations: 226.2 kB / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.01034, allocations: 251.7 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01034, allocations: 0 / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005245/0.01086, allocations: 412.9 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.01092, allocations: 67.39 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01092, allocations: 4 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.01094, allocations: 4.938 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.01104, allocations: 27.86 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.01105, allocations: 5.125 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.01126, allocations: 52.97 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.01129, allocations: 20 kB / 0.819 GB, free: 10.06 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.0001285/0.01142, allocations: 191.4 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.01146, allocations: 28.72 kB / 0.8192 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.0115, allocations: 16.44 kB / 0.8192 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.0115, allocations: 1.875 kB / 0.8192 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01151, allocations: 4 kB / 0.8192 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01151, allocations: 0 / 0.8192 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.01205, allocations: 0.6292 MB / 0.8198 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01205, allocations: 0 / 0.8198 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.01208, allocations: 9.344 kB / 0.8198 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01209, allocations: 3.984 kB / 0.8198 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.0121, allocations: 11.98 kB / 0.8198 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01211, allocations: 0.9531 kB / 0.8198 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01211, allocations: 7.984 kB / 0.8198 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.0125, allocations: 0.5027 MB / 0.8203 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01252, allocations: 20.55 kB / 0.8203 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.01255, allocations: 8 kB / 0.8204 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.01267, allocations: 19.67 kB / 0.8204 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.01274, allocations: 19.95 kB / 0.8204 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.01276, allocations: 15.98 kB / 0.8204 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.01281, allocations: 135.2 kB / 0.8205 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01281, allocations: 0 / 0.8205 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003616/0.01317, allocations: 67.86 kB / 0.8206 GB, free: 8.312 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.0001696/0.01334, allocations: 112.7 kB / 0.8207 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.01377, allocations: 371.7 kB / 0.8211 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01377, allocations: 0 / 0.8211 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.01389, allocations: 89.3 kB / 0.8211 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.01426, allocations: 28.62 kB / 0.8212 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.01473, allocations: 281.9 kB / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.01479, allocations: 73.61 kB / 0.8215 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.963e-05/0.01485, allocations: 18.55 kB / 0.8215 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.0149, allocations: 25.62 kB / 0.8216 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.0149, allocations: 0 / 0.8216 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of Templates: time 0.005748/0.02065, allocations: 2.895 MB / 0.8244 GB, free: 4.418 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.308745841030031]