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.001446/0.001446, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001705/0.001705, allocations: 171.3 kB / 22.46 MB, free: 5.355 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.579/1.579, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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 2.974/2.974, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.125e-06/3.125e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.463e-05, allocations: 6.281 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002021/0.002056, allocations: 0.7203 MB / 1.001 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.004096, allocations: 1.283 MB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.004161, allocations: 4 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.004199, allocations: 3.938 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.004285, allocations: 11.86 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.005082, allocations: 258.5 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.005468, allocations: 259.5 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.005602, allocations: 12.22 kB / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.005818, allocations: 151.7 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.005998, allocations: 75.8 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.006058, allocations: 24 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.006161, allocations: 35.98 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.006207, allocations: 27.91 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.006343, allocations: 79.92 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.00672, allocations: 263.3 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006722, allocations: 3.938 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.72e-07/0.006723, allocations: 4 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.006728, allocations: 0 / 1.003 GB, free: 4.086 MB / 0.9512 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.000787/0.007515, allocations: 425.3 kB / 1.004 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.007558, allocations: 15.98 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.007648, allocations: 16.89 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.008298, allocations: 189.7 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.008333, allocations: 20.36 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.008385, allocations: 20.38 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.00866, allocations: 135.8 kB / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.008671, allocations: 192 / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.00869, allocations: 384 / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.008701, allocations: 8.125 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.008848, allocations: 59.89 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.009698, allocations: 428.5 kB / 1.005 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.009993, allocations: 141.2 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.01009, allocations: 49.69 kB / 1.005 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.0101, allocations: 0 / 1.005 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.01054, allocations: 216.9 kB / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 3.657e-06/0.01054, allocations: 3.984 kB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22): time 0.0006482/0.01119, allocations: 316 kB / 1.005 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.01127, allocations: 93.03 kB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01142, allocations: 130 kB / 1.005 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.01147, allocations: 37.7 kB / 1.005 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.01157, allocations: 96.64 kB / 1.006 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.01164, allocations: 51.58 kB / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.01177, allocations: 77.67 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.01194, allocations: 326.8 kB / 1.006 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.01222, allocations: 151.6 kB / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.01251, allocations: 211.6 kB / 1.006 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.01288, allocations: 253.9 kB / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.01289, allocations: 4 kB / 1.007 GB, free: 384 kB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007502/0.01364, allocations: 420.2 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.01371, allocations: 71.42 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01372, allocations: 0 / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.01374, allocations: 4 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01385, allocations: 15.94 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.01386, allocations: 7.984 kB / 1.007 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.01425, allocations: 63.83 kB / 1.007 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.0143, allocations: 23.98 kB / 1.007 GB, free: 15.73 MB / 0.9669 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.0002178/0.01451, allocations: 148.2 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.01454, allocations: 15.94 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.01459, allocations: 12.44 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.0146, allocations: 4 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.01461, allocations: 0 / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01461, allocations: 0 / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.01532, allocations: 0.5635 MB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01533, allocations: 0 / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.01537, allocations: 8 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.01537, allocations: 4 kB / 1.008 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.0154, allocations: 11.98 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.0154, allocations: 0 / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01541, allocations: 0 / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.01594, allocations: 437 kB / 1.008 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.01596, allocations: 11.91 kB / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.016, allocations: 7.984 kB / 1.008 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.01614, allocations: 15.98 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.01623, allocations: 23.95 kB / 1.008 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.01625, allocations: 16 kB / 1.008 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.534e-05/0.01632, allocations: 98.14 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01632, allocations: 0 / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003902/0.01672, allocations: 63.86 kB / 1.009 GB, free: 14.26 MB / 0.9669 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.0002463/0.01696, allocations: 119.1 kB / 1.009 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006449/0.01761, allocations: 378 kB / 1.009 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01761, allocations: 448 / 1.009 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.01778, allocations: 87.89 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.01821, allocations: 23.97 kB / 1.009 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.01888, allocations: 271 kB / 1.009 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.01899, allocations: 92.95 kB / 1.009 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.484e-05/0.01906, allocations: 21.48 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.01911, allocations: 24.48 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.01912, allocations: 0 / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of Templates: time 0.007775/0.02689, allocations: 2.866 MB / 1.012 GB, free: 10.34 MB / 0.9669 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=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: 8.571734864264727]