Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007987/0.007987, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 197.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.625/2.625, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.55 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002105/0.3433, allocations: 0.665 MB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.345, allocations: 1.157 MB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.345, allocations: 4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.3451, allocations: 7.922 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3452, allocations: 7.922 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.3458, allocations: 147.9 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3461, allocations: 143.8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.3462, allocations: 8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3463, allocations: 67.83 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3464, allocations: 51.86 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.3465, allocations: 16 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.804e-05/0.3466, allocations: 31.97 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.3466, allocations: 23.92 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.3467, allocations: 47.84 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.347, allocations: 127.6 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.347, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.347, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.347, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 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.0006692/0.3477, allocations: 424.9 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3477, allocations: 12.03 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.3478, allocations: 12.89 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3483, allocations: 212.4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.3483, allocations: 4.375 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.3483, allocations: 16.36 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3485, allocations: 90.06 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3486, allocations: 7.938 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.3486, allocations: 7.984 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3486, allocations: 4 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.778e-05/0.3487, allocations: 43.91 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.3493, allocations: 348.6 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3495, allocations: 98.53 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.802e-05/0.3496, allocations: 44.83 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.3496, allocations: 96 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.3499, allocations: 135.2 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3499, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004022/0.3503, allocations: 201.6 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3504, allocations: 59.41 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.3505, allocations: 113.8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3505, allocations: 37.69 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.3506, allocations: 84.14 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.3506, allocations: 35.94 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.3507, allocations: 45.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3508, allocations: 322.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3509, allocations: 47.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3511, allocations: 84.27 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3513, allocations: 131.5 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3513, allocations: 8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003533/0.3516, allocations: 207.2 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.3517, allocations: 37.69 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3517, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3517, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.3518, allocations: 8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.3518, allocations: 11.88 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.352, allocations: 35.98 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3521, allocations: 15.98 kB / 1.093 GB, free: 11.84 MB / 0.8575 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.0001091/0.3522, allocations: 129.8 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3522, allocations: 11.94 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.3523, allocations: 8.5 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3523, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3523, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3523, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.3527, allocations: 440.9 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3527, allocations: 3.938 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.3528, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3528, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3528, allocations: 11.98 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3528, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3528, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3531, allocations: 263.3 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.3531, allocations: 92.98 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3532, allocations: 4 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.3533, allocations: 11.98 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.3533, allocations: 11.98 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3534, allocations: 15.92 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.3534, allocations: 79.28 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3534, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002956/0.3537, allocations: 35.98 kB / 1.094 GB, free: 10.64 MB / 0.8575 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.0001931/0.3539, allocations: 112.4 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.3543, allocations: 199.2 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3543, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3544, allocations: 67.97 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3547, allocations: 17.23 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.3551, allocations: 198.6 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3554, allocations: 0.696 MB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.569e-05/0.3555, allocations: 12.48 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.3555, allocations: 15.44 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3555, allocations: 0 / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of Templates: time 0.004584/0.3601, allocations: 1.656 MB / 1.097 GB, free: 7.621 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches