Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004183, allocations: 11 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3543, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001084/0.3554, allocations: 473.4 kB / 1.06 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3575, allocations: 1.279 MB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.3576, allocations: 0 / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.3576, allocations: 3.938 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.3578, allocations: 19.84 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.3586, allocations: 221.9 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.3589, allocations: 227.6 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.359, allocations: 16.22 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3592, allocations: 95.73 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3594, allocations: 75.77 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.3594, allocations: 12 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.3596, allocations: 27.98 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.3596, allocations: 27.89 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3597, allocations: 113.4 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.36, allocations: 155.9 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.36, allocations: 0 / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.926e-06/0.36, allocations: 4 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.36, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007219/0.3607, allocations: 462.5 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3608, allocations: 11.97 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.3609, allocations: 28.83 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.3616, allocations: 266.6 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.3616, allocations: 12.36 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.3617, allocations: 20.38 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3619, allocations: 139.8 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.362, allocations: 3.938 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.362, allocations: 0 / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.362, allocations: 7.938 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3621, allocations: 63.89 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/0.363, allocations: 0.5163 MB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.3633, allocations: 161.2 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3634, allocations: 65.69 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3634, allocations: 0 / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.3638, allocations: 209.6 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.3638, allocations: 0 / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0006208/0.3645, allocations: 314.7 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.3645, allocations: 85.05 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3647, allocations: 136.4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.3647, allocations: 41.7 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.3648, allocations: 100.6 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.3648, allocations: 51.41 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.3649, allocations: 37.7 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.365, allocations: 326.8 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3652, allocations: 80.23 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.3655, allocations: 152.2 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.3658, allocations: 247 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3658, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005686/0.3664, allocations: 364.9 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.3664, allocations: 63.39 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3665, allocations: 4 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3665, allocations: 4 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.3666, allocations: 27.86 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3666, allocations: 8.156 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.367, allocations: 91.78 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.3671, allocations: 15.98 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001492/0.3672, allocations: 148 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3672, allocations: 11.91 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.3673, allocations: 12.5 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3673, allocations: 4 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3673, allocations: 3.938 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3673, allocations: 7.984 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.368, allocations: 0.6143 MB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.368, allocations: 0 / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.3681, allocations: 15.97 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3681, allocations: 3.938 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3681, allocations: 8 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3681, allocations: 80 / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3681, allocations: 15.97 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.3686, allocations: 420.5 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.3686, allocations: 88.95 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.3687, allocations: 15.92 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3688, allocations: 15.98 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.3689, allocations: 23.95 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3689, allocations: 16 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.369, allocations: 95.27 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.369, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000367/0.3694, allocations: 55.98 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000215/0.3696, allocations: 119.2 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.3701, allocations: 339 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3701, allocations: 4.062 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.3703, allocations: 115.9 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3707, allocations: 33.11 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.3713, allocations: 342.5 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3716, allocations: 0.705 MB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.3716, allocations: 19.44 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3717, allocations: 0 / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.004516/0.3762, allocations: 2.232 MB / 1.071 GB, free: 8.156 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time