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.001694/0.001694, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002381/0.002381, allocations: 214.8 kB / 23 MB, free: 4.969 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.481/3.481, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002892/0.002892, allocations: 62.56 kB / 1.155 GB, free: 24.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4274, allocations: 176.1 MB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002276/0.4297, allocations: 0.7225 MB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.4316, allocations: 1.272 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.4317, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.4318, allocations: 11.92 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.4319, allocations: 27.73 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000798/0.4327, allocations: 245.2 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.433, allocations: 251.6 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4331, allocations: 20.22 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.4333, allocations: 99.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.4335, allocations: 99.75 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.4336, allocations: 20 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.4337, allocations: 39.98 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.4337, allocations: 27.91 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.4339, allocations: 87.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.4342, allocations: 223.3 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4342, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4342, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4342, allocations: 3.938 kB / 1.33 GB, free: 13.7 MB / 1.029 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.0007799/0.435, allocations: 433.2 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.435, allocations: 12.03 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.4351, allocations: 16.89 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.4357, allocations: 186.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.4357, allocations: 8.375 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.4358, allocations: 24.36 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.4361, allocations: 133.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4361, allocations: 3.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.4361, allocations: 7.984 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4361, allocations: 8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.4362, allocations: 59.89 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.437, allocations: 432.4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.4373, allocations: 137.2 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.4374, allocations: 53.64 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.4374, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.4378, allocations: 207.1 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.4378, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006266/0.4385, allocations: 320.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.4385, allocations: 89.23 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4386, allocations: 126 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.4387, allocations: 49.69 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.4388, allocations: 96.59 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.4388, allocations: 47.62 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.439, allocations: 77.67 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4391, allocations: 330.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4394, allocations: 147.6 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.4396, allocations: 211.6 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.44, allocations: 247 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.44, allocations: 4 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006404/0.4406, allocations: 428.2 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/0.4407, allocations: 67.39 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4407, allocations: 7.938 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4407, allocations: 4.219 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.4408, allocations: 15.94 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4408, allocations: 4 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.4412, allocations: 71.75 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.4412, allocations: 20 kB / 1.334 GB, free: 9.352 MB / 1.029 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.0001654/0.4414, allocations: 144.3 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.4414, allocations: 19.89 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.4415, allocations: 12.44 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4415, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4415, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.4415, allocations: 19.83 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.4415, allocations: 11.98 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.4416, allocations: 15.92 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.4417, allocations: 27.89 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005269/0.4422, allocations: 420.1 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005198/0.4427, allocations: 0.5018 MB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001354/0.4429, allocations: 83.88 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.4429, allocations: 95.27 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/0.4429, allocations: 0 / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000848/0.4438, allocations: 392.4 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007358/0.4445, allocations: 0.668 MB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of Templates: time 0.007429/0.4519, allocations: 3.268 MB / 1.34 GB, free: 3.637 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.73363891599729]