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.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.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.001326/0.001326, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001835/0.001835, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.929/2.929, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 10.84 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3695, allocations: 159.6 MB / 1.058 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001102/0.3707, allocations: 381.9 kB / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3726, allocations: 1.151 MB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.3727, allocations: 3.938 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.3727, allocations: 3.938 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.948e-05/0.3728, allocations: 11.92 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.3735, allocations: 126.6 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3736, allocations: 111.8 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3738, allocations: 15.98 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3739, allocations: 47.89 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.374, allocations: 39.89 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.3741, allocations: 8 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.3742, allocations: 19.92 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.3742, allocations: 15.97 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.3743, allocations: 45.69 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.3744, allocations: 92.08 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3745, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3745, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3745, allocations: 4 kB / 1.06 GB, free: 3.203 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.0006552/0.3751, allocations: 412.6 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3752, allocations: 8.031 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.3753, allocations: 8 kB / 1.06 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.3757, allocations: 214.9 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.3757, allocations: 7.953 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3758, allocations: 16 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3759, allocations: 85.56 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.376, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.376, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.376, allocations: 0 / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.3761, allocations: 39.97 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.3767, allocations: 368.6 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3769, allocations: 94.58 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.3769, allocations: 40.84 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.3769, allocations: 0 / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.3772, allocations: 135.4 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.3772, allocations: 0 / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004071/0.3776, allocations: 203.1 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.3777, allocations: 63.34 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.3778, allocations: 109.8 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3779, allocations: 33.7 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.3779, allocations: 88.14 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.378, allocations: 31.61 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.378, allocations: 4 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3781, allocations: 322.8 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3783, allocations: 51.97 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3784, allocations: 80.27 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3785, allocations: 78.94 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3785, allocations: 3.938 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003968/0.3789, allocations: 207.1 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.379, allocations: 36.05 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.379, allocations: 0 / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.379, allocations: 128 / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.3791, allocations: 23.92 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3791, allocations: 4 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3794, allocations: 39.91 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.3794, allocations: 15.98 kB / 1.063 GB, free: 184 kB / 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3795, allocations: 133.7 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.3796, allocations: 11.91 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.3796, allocations: 8.5 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3796, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3796, allocations: 3.984 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3796, allocations: 4 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.3801, allocations: 436.6 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3801, allocations: 8 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.3801, allocations: 7.938 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.3802, allocations: 7.984 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3802, allocations: 3.984 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3802, allocations: 0 / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3802, allocations: 0 / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3805, allocations: 251.5 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.3805, allocations: 92.95 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3806, allocations: 11.98 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.3807, allocations: 4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.3807, allocations: 15.97 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3808, allocations: 11.98 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.3808, allocations: 83.28 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3808, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003218/0.3812, allocations: 36 kB / 1.064 GB, free: 14.97 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.3814, allocations: 124.2 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3817, allocations: 187.2 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3818, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3819, allocations: 83.83 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3822, allocations: 15.98 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.3826, allocations: 208.2 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.3829, allocations: 0.6926 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.383, allocations: 4.562 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.383, allocations: 19.42 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of SimCode: time 6.72e-07/0.383, allocations: 4 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.004347/0.3874, allocations: 1.452 MB / 1.067 GB, free: 12.14 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