Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001353/0.001353, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001638/0.001638, allocations: 181 kB / 23.36 MB, free: 1.133 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.9904/0.9904, allocations: 177.1 MB / 203.8 MB, free: 5.469 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 2.392/2.392, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.258e-06/4.258e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.729e-05/4.155e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002535/0.002577, allocations: 0.6763 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.004493, allocations: 1.209 MB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.004551, allocations: 0 / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.004587, allocations: 3.938 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.004688, allocations: 23.84 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.005278, allocations: 135.6 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.005527, allocations: 143.7 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.005627, allocations: 11.97 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.005805, allocations: 87.86 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.005943, allocations: 39.94 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.005974, allocations: 12 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.006063, allocations: 23.98 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.0061, allocations: 19.91 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.006171, allocations: 39.95 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.006367, allocations: 99.69 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.006372, allocations: 4 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.403e-06/0.006373, allocations: 0 / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.006378, allocations: 0 / 0.8411 GB, free: 11.67 MB / 0.8073 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.0005649/0.006943, allocations: 318.4 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006985, allocations: 8.625 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.007048, allocations: 24.91 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.007237, allocations: 117.8 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.007264, allocations: 8.312 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.007301, allocations: 16.38 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.007452, allocations: 82.88 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.007462, allocations: 192 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.007476, allocations: 4.375 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.007482, allocations: 384 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.007537, allocations: 27.92 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007244/0.008262, allocations: 208.1 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.008403, allocations: 62.55 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.008439, allocations: 20.84 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.008447, allocations: 0 / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.008646, allocations: 123.4 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 3.236e-06/0.008649, allocations: 7.984 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002481/0.008897, allocations: 125.5 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.008942, allocations: 63.39 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.009026, allocations: 114.7 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.00906, allocations: 33.7 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.009112, allocations: 88.12 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.009149, allocations: 31.78 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.009232, allocations: 41.69 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.009341, allocations: 326.8 kB / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.009427, allocations: 53.69 kB / 0.8429 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.009535, allocations: 105.5 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.009687, allocations: 121 kB / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.009691, allocations: 0 / 0.8431 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002888/0.009979, allocations: 180.9 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.01003, allocations: 37.7 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01004, allocations: 128 / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.01006, allocations: 11.94 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.01014, allocations: 11.98 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.01015, allocations: 7.938 kB / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.01031, allocations: 35.88 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.01033, allocations: 7.984 kB / 0.8434 GB, free: 9.062 MB / 0.8073 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.0001043/0.01044, allocations: 119 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.01047, allocations: 19.98 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.01051, allocations: 16.42 kB / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.01051, allocations: 3.938 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01052, allocations: 4 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01052, allocations: 0 / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.01081, allocations: 246.7 kB / 0.8438 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01081, allocations: 0 / 0.8438 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.01085, allocations: 11.98 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01086, allocations: 0 / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01087, allocations: 11.88 kB / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01087, allocations: 0 / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01087, allocations: 0 / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.01106, allocations: 198.2 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.01108, allocations: 15.88 kB / 0.844 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.0111, allocations: 11.94 kB / 0.844 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.01119, allocations: 7.984 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.01125, allocations: 15.97 kB / 0.844 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.01126, allocations: 4 kB / 0.844 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.756e-05/0.01129, allocations: 12.84 kB / 0.844 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01129, allocations: 0 / 0.844 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002905/0.01158, allocations: 32 kB / 0.8441 GB, free: 8.301 MB / 0.8073 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.0002213/0.0118, allocations: 92.41 kB / 0.8442 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.01207, allocations: 193.8 kB / 0.8443 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.01207, allocations: 0 / 0.8443 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.01215, allocations: 40.84 kB / 0.8444 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01239, allocations: 17.09 kB / 0.8444 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.01279, allocations: 180.8 kB / 0.8446 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.01284, allocations: 59.36 kB / 0.8446 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.755e-05/0.01289, allocations: 12.73 kB / 0.8446 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.013, allocations: 71.36 kB / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of SimCode: time 9.71e-07/0.013, allocations: 0 / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of Templates: time 0.005212/0.01822, allocations: 1.872 MB / 0.8465 GB, free: 5.723 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.472979426383972]