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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001533/0.001533, allocations: 192 kB / 16.14 MB, free: 6.711 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 61.16 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 157.4 MB / 1.052 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002227/0.352, allocations: 0.7389 MB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3537, allocations: 1.182 MB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.3537, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.3538, allocations: 3.938 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.435e-05/0.3539, allocations: 7.938 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.3543, allocations: 127 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3545, allocations: 123.7 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3546, allocations: 11.98 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.3547, allocations: 55.89 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3548, allocations: 43.88 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.3548, allocations: 11.94 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.3549, allocations: 15.98 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3549, allocations: 19.97 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.355, allocations: 51.84 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.3552, allocations: 124 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3552, allocations: 0 / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3552, allocations: 0 / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.3552, allocations: 0 / 1.055 GB, free: 6.242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006588/0.3559, allocations: 420.9 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.356, allocations: 12.03 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.3561, allocations: 12.84 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.3565, allocations: 212.4 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3566, allocations: 8.375 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.3566, allocations: 16.36 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3568, allocations: 86.14 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3568, allocations: 7.938 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.3569, allocations: 3.984 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3569, allocations: 0 / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.357, allocations: 43.91 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.3577, allocations: 360.5 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3579, allocations: 90.48 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.358, allocations: 44.83 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.358, allocations: 160 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.3584, allocations: 131.3 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3584, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004175/0.3588, allocations: 201.5 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.3589, allocations: 59.41 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.359, allocations: 109.8 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.359, allocations: 37.69 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.3591, allocations: 96.05 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.3591, allocations: 27.69 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.3592, allocations: 45.7 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3594, allocations: 322.8 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.3595, allocations: 51.97 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.3596, allocations: 85.64 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3598, allocations: 136.8 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3598, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003363/0.3602, allocations: 207.1 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.3602, allocations: 35.41 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3603, allocations: 8.125 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3603, allocations: 0 / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.3604, allocations: 8 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3604, allocations: 11.88 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3606, allocations: 39.81 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.3606, allocations: 7.984 kB / 1.057 GB, free: 3.086 MB / 0.8106 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.0001429/0.3608, allocations: 135.3 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.3608, allocations: 11.89 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.3608, allocations: 8.5 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3608, allocations: 4 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3608, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3609, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.3613, allocations: 438.4 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3613, allocations: 4 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.3614, allocations: 4 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3614, allocations: 4 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3614, allocations: 7.984 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3614, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3614, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3617, allocations: 263.3 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.3617, allocations: 92.94 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.3618, allocations: 4 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.3619, allocations: 11.98 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.3619, allocations: 19.92 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.362, allocations: 11.92 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.362, allocations: 87.27 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.362, allocations: 4 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002776/0.3623, allocations: 31.98 kB / 1.058 GB, free: 1.867 MB / 0.8106 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.0002052/0.3625, allocations: 109.1 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.3628, allocations: 198.3 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3628, allocations: 0 / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3629, allocations: 75.97 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3632, allocations: 11.98 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.3636, allocations: 208.5 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.364, allocations: 0.6926 MB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.364, allocations: 8.547 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3641, allocations: 15.44 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3641, allocations: 0 / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of Templates: time 0.004391/0.3685, allocations: 1.514 MB / 1.061 GB, free: 14.99 MB / 0.8262 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches