Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001097/0.001097, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002639, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002473, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9489/0.9489, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0818/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.382/2.382, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2625/2.644, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.089e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001112/0.001123, allocations: 0.7762 MB / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.002217, allocations: 1.314 MB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.00226, allocations: 0 / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.002283, allocations: 7.875 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.002326, allocations: 23.78 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.00268, allocations: 231.4 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.0029, allocations: 255.7 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.002975, allocations: 12.16 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.00312, allocations: 159.7 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.003244, allocations: 79.75 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.003274, allocations: 16 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.003353, allocations: 31.98 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.003382, allocations: 23.92 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.003434, allocations: 48 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.003598, allocations: 135.6 kB / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.003609, allocations: 0 / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.41e-07/0.00361, allocations: 0 / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.003623, allocations: 0 / 0.822 GB, free: 15.34 MB / 0.8073 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.0005251/0.004148, allocations: 427.5 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.004178, allocations: 12.02 kB / 0.8224 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.004231, allocations: 28.91 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.004392, allocations: 150.3 kB / 0.8226 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.00441, allocations: 16.38 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.004444, allocations: 20.36 kB / 0.8226 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.004568, allocations: 121.4 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.004575, allocations: 192 / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.004587, allocations: 8.359 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004593, allocations: 384 / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.883e-05/0.004642, allocations: 43.84 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.004986, allocations: 320.2 kB / 0.8231 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.005114, allocations: 113.2 kB / 0.8232 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.005149, allocations: 41.7 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.005157, allocations: 3.984 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.005331, allocations: 184.9 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.005332, allocations: 0 / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0002028/0.005535, allocations: 189 kB / 0.8236 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.005572, allocations: 85.11 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.005635, allocations: 142.5 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.00566, allocations: 37.7 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.005698, allocations: 92.62 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.005731, allocations: 55.56 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.005798, allocations: 73.66 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.005869, allocations: 326.8 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.005949, allocations: 107.6 kB / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.006303, allocations: 188.7 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.006438, allocations: 214.9 kB / 0.8248 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.006442, allocations: 7.938 kB / 0.8248 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000224/0.006666, allocations: 340.3 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.00671, allocations: 68.64 kB / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.006716, allocations: 4 kB / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.006728, allocations: 0 / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.006791, allocations: 23.94 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.006796, allocations: 7.984 kB / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.006939, allocations: 55.84 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.006957, allocations: 12.08 kB / 0.8253 GB, free: 11.56 MB / 0.8073 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 7.708e-05/0.007034, allocations: 151.7 kB / 0.8255 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.007055, allocations: 27.97 kB / 0.8255 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.007082, allocations: 12.44 kB / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007084, allocations: 4 kB / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007086, allocations: 0 / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.00709, allocations: 0 / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.00732, allocations: 399.5 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007321, allocations: 0 / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.007344, allocations: 8 kB / 0.8259 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.007354, allocations: 15.91 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.007356, allocations: 4 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.007366, allocations: 7.984 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.007369, allocations: 7.984 kB / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00737, allocations: 0 / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.007518, allocations: 316.8 kB / 0.8262 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.007537, allocations: 11.94 kB / 0.8263 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.007607, allocations: 15.98 kB / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.007651, allocations: 23.94 kB / 0.8263 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.00766, allocations: 15.94 kB / 0.8263 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.582e-05/0.007676, allocations: 21.84 kB / 0.8263 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007676, allocations: 0 / 0.8263 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000185/0.007861, allocations: 59.92 kB / 0.8264 GB, free: 10.43 MB / 0.8073 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.0001047/0.007965, allocations: 100.3 kB / 0.8265 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.008222, allocations: 339.2 kB / 0.8268 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.008226, allocations: 0.6562 kB / 0.8268 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.138e-05/0.008298, allocations: 78.34 kB / 0.8269 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.008538, allocations: 171.2 kB / 0.827 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.009004, allocations: 253.5 kB / 0.8273 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.009043, allocations: 75.84 kB / 0.8274 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.009083, allocations: 21.48 kB / 0.8274 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.009192, allocations: 91.34 kB / 0.8275 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.009192, allocations: 0 / 0.8275 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of Templates: time 0.004044/0.01324, allocations: 3.079 MB / 0.8305 GB, free: 6.18 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.059746818616986]