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.0008211/0.0008211, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008015/0.0008015, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 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.8609/0.8609, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.777/1.777, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] 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.266e-06/3.266e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.213e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001916/0.001948, allocations: 0.718 MB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003244, allocations: 1.288 MB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.003299, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.00333, allocations: 3.938 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.003404, allocations: 27.84 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.003954, allocations: 245.6 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.00419, allocations: 255.5 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.004287, allocations: 8.234 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004427, allocations: 151.7 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.004547, allocations: 79.81 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.004579, allocations: 24 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.004646, allocations: 35.97 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.004679, allocations: 35.89 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.004754, allocations: 71.94 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.005, allocations: 263.3 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005003, allocations: 3.938 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.303e-06/0.005004, allocations: 0 / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.005009, allocations: 4 kB / 1.004 GB, free: 9.793 MB / 0.9636 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.0005564/0.005565, allocations: 425.2 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.005602, allocations: 20.02 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.005664, allocations: 16.89 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.006022, allocations: 189.7 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.006052, allocations: 16.36 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.006083, allocations: 20.36 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.006263, allocations: 131.1 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.006272, allocations: 192 / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.006287, allocations: 12.36 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.006294, allocations: 8.125 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.006388, allocations: 59.89 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.006879, allocations: 416.5 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.007086, allocations: 141.2 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.007149, allocations: 53.69 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.00716, allocations: 4 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.007434, allocations: 211 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.007436, allocations: 0 / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22): time 0.0004097/0.007845, allocations: 317.4 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.007889, allocations: 93.19 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.007962, allocations: 126 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.007996, allocations: 41.7 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.008047, allocations: 100.6 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.008084, allocations: 59.58 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.008164, allocations: 77.67 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.008243, allocations: 326.8 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.008389, allocations: 143.6 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.008545, allocations: 211.6 kB / 1.007 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.00875, allocations: 249.4 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.008753, allocations: 4 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003862/0.009139, allocations: 420 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.009181, allocations: 67.39 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009187, allocations: 4 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.009201, allocations: 0 / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.009268, allocations: 28.14 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.009275, allocations: 4.062 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.009458, allocations: 63.83 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.009481, allocations: 23.98 kB / 1.008 GB, free: 5.449 MB / 0.9636 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.0001/0.009581, allocations: 152 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.009598, allocations: 15.95 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.009633, allocations: 12.44 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009636, allocations: 4 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.009642, allocations: 7.922 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.009647, allocations: 3.984 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.01005, allocations: 0.5519 MB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01005, allocations: 0 / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.01008, allocations: 12 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01008, allocations: 3.984 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01009, allocations: 8 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.0101, allocations: 4 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0101, allocations: 0 / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.01038, allocations: 430.5 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.01039, allocations: 11.91 kB / 1.009 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01041, allocations: 11.98 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.01049, allocations: 15.98 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.01054, allocations: 23.95 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.01055, allocations: 15.98 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.01059, allocations: 98.77 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01059, allocations: 0 / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002438/0.01083, allocations: 63.81 kB / 1.009 GB, free: 3.961 MB / 0.9636 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.0001461/0.01098, allocations: 119.2 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.01133, allocations: 376.4 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01133, allocations: 0 / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.01143, allocations: 87.91 kB / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.0117, allocations: 28.41 kB / 1.01 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.01209, allocations: 296.9 kB / 1.01 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.276e-05/0.01216, allocations: 100.9 kB / 1.01 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.01219, allocations: 20.5 kB / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01219, allocations: 0 / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of Templates: time 0.002919/0.01511, allocations: 2.299 MB / 1.013 GB, free: 0.5664 MB / 0.9636 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] "" Variables in the reference: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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time [Calling sys.exit(0), Time elapsed: 6.694024422205985]