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.001435/0.001435, allocations: 80.94 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.001605/0.001605, allocations: 173 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.9915/0.9915, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.526/2.526, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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 2.916e-06/2.916e-06, allocations: 3.984 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.798e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001295/0.001313, allocations: 0.7216 MB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002588, allocations: 1.209 MB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.002637, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.002671, allocations: 3.938 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.002749, allocations: 11.86 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.003116, allocations: 143.5 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003264, allocations: 139.7 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/0.003335, allocations: 11.98 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.003442, allocations: 91.84 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.003537, allocations: 39.94 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.003557, allocations: 12 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.003623, allocations: 19.98 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.003652, allocations: 23.91 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.003699, allocations: 35.97 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003829, allocations: 103.7 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003831, allocations: 0 / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003832, allocations: 0 / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003835, allocations: 0 / 0.8411 GB, free: 11.57 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.0003849/0.00422, allocations: 326.4 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.00425, allocations: 8.625 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.004291, allocations: 20.91 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004422, allocations: 117.8 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.004437, allocations: 8.375 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.004454, allocations: 8.375 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.602e-05/0.00455, allocations: 86.83 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.004559, allocations: 4.172 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-06/0.004568, allocations: 4.375 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004574, allocations: 384 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.004616, allocations: 31.92 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.004888, allocations: 208.1 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.883e-05/0.004977, allocations: 62.48 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.005002, allocations: 24.84 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.005008, allocations: 3.984 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.005141, allocations: 127.4 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.005142, allocations: 4 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001551/0.005297, allocations: 121.6 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.005326, allocations: 55.39 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.663e-05/0.005383, allocations: 118.7 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.005403, allocations: 33.7 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.005436, allocations: 88.12 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.005458, allocations: 31.78 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.005507, allocations: 41.69 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.727e-05/0.005584, allocations: 322.8 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.005633, allocations: 53.69 kB / 0.843 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.005696, allocations: 101.9 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.005779, allocations: 109.9 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005781, allocations: 0 / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001477/0.005929, allocations: 192 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.005954, allocations: 36.19 kB / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005959, allocations: 4 kB / 0.8434 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.005972, allocations: 8.062 kB / 0.8434 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.006023, allocations: 19.98 kB / 0.8434 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006027, allocations: 4 kB / 0.8434 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.188e-05/0.006119, allocations: 27.88 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.006133, allocations: 15.92 kB / 0.8435 GB, free: 8.961 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 6.72e-05/0.0062, allocations: 119 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.006215, allocations: 15.98 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.006239, allocations: 12.44 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.006243, allocations: 7.922 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006244, allocations: 0 / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006248, allocations: 7.938 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.006417, allocations: 250.7 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006419, allocations: 4 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.006435, allocations: 4 kB / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.006438, allocations: 3.984 kB / 0.8439 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.006447, allocations: 11.94 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006447, allocations: 0 / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006448, allocations: 0 / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.006555, allocations: 195.4 kB / 0.8441 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.006564, allocations: 15.88 kB / 0.8441 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.006581, allocations: 11.94 kB / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.006624, allocations: 7.984 kB / 0.8441 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.006657, allocations: 15.97 kB / 0.8441 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.006664, allocations: 4 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.204e-05/0.006676, allocations: 12.84 kB / 0.8441 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006676, allocations: 0 / 0.8441 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001487/0.006825, allocations: 32 kB / 0.8442 GB, free: 8.195 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 9.326e-05/0.006918, allocations: 92.41 kB / 0.8443 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.007075, allocations: 182 kB / 0.8444 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.007077, allocations: 3.938 kB / 0.8444 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.007122, allocations: 44.84 kB / 0.8445 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.007258, allocations: 25.25 kB / 0.8445 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.00749, allocations: 172 kB / 0.8447 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.007522, allocations: 59.36 kB / 0.8447 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.007549, allocations: 16.67 kB / 0.8447 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.007625, allocations: 75.36 kB / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.007626, allocations: 0 / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of Templates: time 0.003137/0.01076, allocations: 1.862 MB / 0.8466 GB, free: 5.625 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 -s gbode -gbm=radauIIA3 -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.356559120118618]