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.001873/0.001873, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002119/0.002119, allocations: 210 kB / 22.24 MB, free: 5.258 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.918/2.918, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 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.002144/0.002144, allocations: 68.02 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4009, allocations: 169.9 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002177/0.4031, allocations: 0.6662 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.4051, allocations: 1.176 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.4052, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.4052, allocations: 3.938 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.4053, allocations: 11.91 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.4058, allocations: 138.9 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.406, allocations: 147.7 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.4061, allocations: 7.984 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.4062, allocations: 59.91 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.4064, allocations: 43.86 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.4064, allocations: 16 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.4065, allocations: 23.92 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.4065, allocations: 27.97 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.704e-05/0.4066, allocations: 39.91 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.4069, allocations: 131.6 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4069, allocations: 0 / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4069, allocations: 4 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4069, allocations: 0 / 1.285 GB, free: 9.379 MB / 0.9825 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.0007282/0.4076, allocations: 347.8 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4076, allocations: 8.031 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.4077, allocations: 16.92 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.4081, allocations: 150.6 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.4082, allocations: 8.312 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.4082, allocations: 12.38 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4084, allocations: 90.19 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4084, allocations: 3.938 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4084, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4084, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4085, allocations: 43.91 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.4091, allocations: 272.4 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4093, allocations: 82.48 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.4094, allocations: 28.94 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.4094, allocations: 7.938 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.4097, allocations: 143.9 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.4097, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004326/0.4102, allocations: 194.7 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.4102, allocations: 67.48 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.4103, allocations: 109.8 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.4104, allocations: 33.7 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4104, allocations: 92.12 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.4105, allocations: 27.81 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.4106, allocations: 49.69 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4107, allocations: 322.8 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.4109, allocations: 77.67 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.4111, allocations: 114 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4113, allocations: 136.2 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4113, allocations: 3.938 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004255/0.4117, allocations: 252.9 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.4117, allocations: 33.7 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4117, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4118, allocations: 4 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.4118, allocations: 15.92 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4119, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.4121, allocations: 39.86 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.4121, allocations: 8.125 kB / 1.288 GB, free: 6.395 MB / 0.9825 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.0001248/0.4122, allocations: 133.8 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.4122, allocations: 7.953 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.4123, allocations: 12.44 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4123, allocations: 3.938 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4123, allocations: 3.984 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4123, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.4128, allocations: 383.3 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4128, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.4128, allocations: 4 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4128, allocations: 4 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4128, allocations: 7.984 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4128, allocations: 0 / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4128, allocations: 0 / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.4132, allocations: 271.3 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.4132, allocations: 15.88 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.4132, allocations: 8 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.4133, allocations: 3.984 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.4134, allocations: 19.97 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4134, allocations: 4 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.4135, allocations: 95.27 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4135, allocations: 0 / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002966/0.4138, allocations: 32 kB / 1.289 GB, free: 5.344 MB / 0.9825 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.0002033/0.414, allocations: 103.2 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.4144, allocations: 219.9 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4144, allocations: 0 / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.4145, allocations: 51.97 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.4148, allocations: 16.22 kB / 1.289 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.4152, allocations: 198.5 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.515e-05/0.4153, allocations: 79.27 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.755e-05/0.4154, allocations: 8.484 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.4154, allocations: 15.44 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.4154, allocations: 4 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.005739/0.4212, allocations: 1.788 MB / 1.292 GB, free: 2.852 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.711883507668972]