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.001425/0.001425, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001725/0.001725, allocations: 217.1 kB / 22.24 MB, free: 5.105 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.632/3.632, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 72.91 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.5391, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002348/0.5414, allocations: 0.7337 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.5435, allocations: 1.272 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.5436, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.5436, allocations: 7.875 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.817e-05/0.5437, allocations: 27.78 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007952/0.5445, allocations: 252.7 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.5449, allocations: 247.6 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.545, allocations: 20.14 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.5452, allocations: 103.8 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.5454, allocations: 83.75 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.5454, allocations: 24 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.5456, allocations: 35.98 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.5456, allocations: 31.91 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.5457, allocations: 79.81 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.546, allocations: 227.3 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5461, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5461, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.5461, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 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.0008387/0.5469, allocations: 425.3 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5469, allocations: 8.031 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.628e-05/0.547, allocations: 24.83 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/0.5477, allocations: 181.2 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.5477, allocations: 16.36 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.5478, allocations: 20.38 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.548, allocations: 132.9 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.5481, allocations: 7.875 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.5481, allocations: 8 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.5481, allocations: 0 / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.5482, allocations: 59.95 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.5491, allocations: 428.5 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.5494, allocations: 141.1 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.5495, allocations: 49.69 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.5495, allocations: 7.938 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.55, allocations: 204.8 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.55, allocations: 0 / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0006341/0.5506, allocations: 317.3 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.5507, allocations: 89.11 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.5508, allocations: 141.3 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.5509, allocations: 33.7 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.551, allocations: 104.8 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.551, allocations: 51.62 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.5512, allocations: 69.69 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.5513, allocations: 326.8 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.5516, allocations: 143.6 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.5519, allocations: 215.6 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.5522, allocations: 254.9 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5522, allocations: 0 / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006752/0.5529, allocations: 416.1 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.836e-05/0.553, allocations: 71.61 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.553, allocations: 4 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.553, allocations: 4.375 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5531, allocations: 19.92 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5531, allocations: 4 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.5535, allocations: 71.72 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.5535, allocations: 23.92 kB / 1.371 GB, free: 6.125 MB / 1.061 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.0001817/0.5537, allocations: 147.8 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.5537, allocations: 11.95 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.5538, allocations: 16.44 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5538, allocations: 0 / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5538, allocations: 0 / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5538, allocations: 11.92 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.5545, allocations: 0.5504 MB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5545, allocations: 3.984 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.5546, allocations: 16 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5546, allocations: 0 / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.5546, allocations: 11.98 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.5546, allocations: 7.875 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5546, allocations: 4 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.5553, allocations: 424.9 kB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.5554, allocations: 11.91 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.5554, allocations: 11.98 kB / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.5556, allocations: 11.92 kB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5557, allocations: 27.89 kB / 1.372 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.5557, allocations: 19.98 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.771e-05/0.5558, allocations: 95.27 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5558, allocations: 0 / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005031/0.5563, allocations: 59.94 kB / 1.372 GB, free: 4.637 MB / 1.061 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.0002793/0.5565, allocations: 114.9 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007606/0.5573, allocations: 378 kB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5573, allocations: 448 / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.5575, allocations: 87.83 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.558, allocations: 36.19 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.5588, allocations: 279.5 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.559, allocations: 88.84 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.085e-05/0.559, allocations: 21.48 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.5591, allocations: 15.44 kB / 1.373 GB, free: 3.543 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.5591, allocations: 0 / 1.373 GB, free: 3.543 MB / 1.061 GB Notification: Performance of Templates: time 0.008109/0.5672, allocations: 2.966 MB / 1.376 GB, free: 0.6328 MB / 1.061 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.100792361423373]