Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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: 79.73 kB / 19.76 MB, free: 1.871 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.001653/0.001653, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.779/2.779, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [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.0023/0.0023, allocations: 67.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.363, allocations: 169.9 MB / 1.117 GB, free: 2.547 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002329/0.3653, allocations: 0.6492 MB / 1.118 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3673, allocations: 1.178 MB / 1.119 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.3673, allocations: 0 / 1.119 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.3674, allocations: 3.938 kB / 1.119 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.3675, allocations: 11.92 kB / 1.119 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.368, allocations: 144.2 kB / 1.119 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.3683, allocations: 143.7 kB / 1.12 GB, free: 424 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3684, allocations: 19.92 kB / 1.12 GB, free: 404 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3685, allocations: 55.91 kB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3687, allocations: 51.84 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.3687, allocations: 12 kB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.3688, allocations: 24 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.3688, allocations: 15.98 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.3689, allocations: 51.83 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3692, allocations: 127.6 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3692, allocations: 0 / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3692, allocations: 4 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3692, allocations: 0 / 1.12 GB, free: 60 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007003/0.3699, allocations: 343.8 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3699, allocations: 11.97 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.37, allocations: 12.88 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.3704, allocations: 158.5 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3704, allocations: 16.36 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.3704, allocations: 8.375 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3706, allocations: 82.19 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3706, allocations: 3.938 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3707, allocations: 4 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3707, allocations: 8 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.484e-05/0.3708, allocations: 39.91 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.3714, allocations: 272.5 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3716, allocations: 82.52 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.81e-05/0.3716, allocations: 28.84 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.3716, allocations: 4 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.3719, allocations: 135.3 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3719, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0004386/0.3724, allocations: 201.5 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3724, allocations: 55.41 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3725, allocations: 113.8 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.3726, allocations: 33.7 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.3726, allocations: 92.23 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.3727, allocations: 35.78 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.3728, allocations: 45.69 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3729, allocations: 318.8 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3731, allocations: 77.67 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.3732, allocations: 121.9 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3734, allocations: 141.2 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3735, allocations: 7.938 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004077/0.3739, allocations: 240.8 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.3739, allocations: 40.67 kB / 1.122 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3739, allocations: 4.125 kB / 1.122 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3739, allocations: 4 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.374, allocations: 15.92 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.374, allocations: 3.984 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.3742, allocations: 31.97 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.3743, allocations: 8 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001421/0.3744, allocations: 133.7 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.3744, allocations: 19.89 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.3745, allocations: 8.438 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3745, allocations: 0 / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3745, allocations: 0 / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3745, allocations: 0 / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.375, allocations: 390 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.375, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.375, allocations: 8 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.375, allocations: 0 / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.375, allocations: 7.984 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.375, allocations: 0 / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.375, allocations: 4 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.3754, allocations: 266.1 kB / 1.123 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.3754, allocations: 7.953 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3754, allocations: 7.984 kB / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.3755, allocations: 8 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.3755, allocations: 11.97 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3756, allocations: 11.98 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.3756, allocations: 83.28 kB / 1.123 GB, free: 12.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3756, allocations: 0 / 1.123 GB, free: 12.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003006/0.3759, allocations: 35.98 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001941/0.3761, allocations: 117.2 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3765, allocations: 213 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3765, allocations: 3.938 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.3766, allocations: 51.97 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3769, allocations: 15.98 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.3774, allocations: 194.4 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.524e-05/0.3775, allocations: 83.52 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.304e-05/0.3775, allocations: 8.5 kB / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3775, allocations: 16.48 kB / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.3775, allocations: 0 / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of Templates: time 0.005555/0.3831, allocations: 1.747 MB / 1.126 GB, free: 9.547 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.887338723056018]