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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001478/0.001478, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001433/0.001433, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.61/2.61, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.78 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7387, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001983/0.7407, allocations: 0.6494 MB / 1.084 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.7421, allocations: 1.158 MB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.7421, allocations: 0.9062 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.7422, allocations: 4.641 kB / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.7423, allocations: 15.19 kB / 1.085 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.7427, allocations: 144.4 kB / 1.085 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.7429, allocations: 148 kB / 1.085 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.743, allocations: 10.5 kB / 1.085 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.7431, allocations: 58.36 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.7432, allocations: 47.89 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.7433, allocations: 13.09 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.7434, allocations: 27.27 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.7434, allocations: 21.06 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.7435, allocations: 52.84 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.7437, allocations: 130.2 kB / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7437, allocations: 0 / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7437, allocations: 0 / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7437, allocations: 0.9688 kB / 1.085 GB, free: 96 kB / 0.8262 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.0006776/0.7444, allocations: 422.1 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.7445, allocations: 9.25 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.7445, allocations: 13.56 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.7449, allocations: 211.2 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.745, allocations: 11.42 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.745, allocations: 15.36 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.7452, allocations: 84.45 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.7452, allocations: 7.875 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7453, allocations: 2.797 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7453, allocations: 1.281 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.7454, allocations: 40.48 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.7461, allocations: 350.9 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.7463, allocations: 100.2 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.7464, allocations: 39.69 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.7464, allocations: 1.859 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.7467, allocations: 127.9 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 3.556e-06/0.7467, allocations: 4 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0004333/0.7471, allocations: 204 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.7472, allocations: 55.66 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.7473, allocations: 119.7 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.7473, allocations: 33.39 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.7474, allocations: 89.58 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.7475, allocations: 32.3 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.7476, allocations: 45.59 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7477, allocations: 328.3 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.7478, allocations: 48.92 kB / 1.088 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.748, allocations: 87.02 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.7482, allocations: 141.6 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7482, allocations: 1.156 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003691/0.7486, allocations: 207.1 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.7486, allocations: 39.31 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7486, allocations: 1.062 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7487, allocations: 6.859 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.7487, allocations: 13.14 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.7488, allocations: 1.5 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.749, allocations: 37.97 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.749, allocations: 8.766 kB / 1.088 GB, free: 13.84 MB / 0.8419 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.0001246/0.7491, allocations: 132.6 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.7492, allocations: 9.875 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.7492, allocations: 13.47 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7492, allocations: 2.172 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7492, allocations: 4 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7492, allocations: 2.156 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.7497, allocations: 430.9 kB / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.7497, allocations: 0 / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.7497, allocations: 9.312 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7497, allocations: 0 / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.7498, allocations: 9.344 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7498, allocations: 3.938 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7498, allocations: 1.125 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.7501, allocations: 268.9 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.7501, allocations: 83.67 kB / 1.089 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.7502, allocations: 4.234 kB / 1.089 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.7502, allocations: 11.75 kB / 1.089 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.7503, allocations: 10.53 kB / 1.089 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.7503, allocations: 14.86 kB / 1.089 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.7504, allocations: 88.61 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7504, allocations: 0 / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002664/0.7507, allocations: 32.06 kB / 1.089 GB, free: 12.95 MB / 0.8419 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.0001786/0.7509, allocations: 119.2 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.7512, allocations: 195.4 kB / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7512, allocations: 0 / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.7513, allocations: 72.69 kB / 1.09 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.7517, allocations: 25.19 kB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.7522, allocations: 222 kB / 1.09 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.7525, allocations: 0.6886 MB / 1.091 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.7526, allocations: 18.72 kB / 1.091 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.7526, allocations: 0 / 1.091 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.003835/0.7564, allocations: 1.448 MB / 1.092 GB, free: 11.69 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time