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.009886/0.009886, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001649/0.001649, allocations: 191.1 kB / 16.67 MB, free: 5.973 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.026/3.026, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.14 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4061, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002007/0.4081, allocations: 0.6607 MB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.4097, allocations: 1.155 MB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.4098, allocations: 0 / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.4098, allocations: 7.922 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.4099, allocations: 15.92 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.4104, allocations: 147 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.4106, allocations: 151.7 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4108, allocations: 8 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.4109, allocations: 59.88 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.411, allocations: 51.88 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.411, allocations: 12 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.4111, allocations: 35.97 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.4111, allocations: 19.92 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.4112, allocations: 43.91 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.4114, allocations: 135.6 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4114, allocations: 4 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4114, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4115, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 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.0006625/0.4121, allocations: 419.2 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4122, allocations: 8.625 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.4122, allocations: 20.77 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.4126, allocations: 212.4 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.4127, allocations: 4.375 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.4127, allocations: 16.36 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4129, allocations: 78.2 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4129, allocations: 3.938 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.4129, allocations: 11.92 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4129, allocations: 4 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.413, allocations: 35.97 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.4136, allocations: 352.6 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.4138, allocations: 106.5 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.4139, allocations: 40.83 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.4139, allocations: 0 / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.4141, allocations: 131.2 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.4141, allocations: 0 / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0003698/0.4145, allocations: 198.3 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.4146, allocations: 55.41 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.4147, allocations: 117.8 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.4147, allocations: 37.69 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.4148, allocations: 80.64 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.4148, allocations: 43.69 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.4149, allocations: 45.7 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4151, allocations: 326.8 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.4152, allocations: 51.92 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.4153, allocations: 84.27 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.4155, allocations: 139.9 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4155, allocations: 0 / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003372/0.4158, allocations: 211.1 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.4159, allocations: 37.69 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4159, allocations: 0 / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4159, allocations: 4 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.416, allocations: 16.06 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.416, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.4162, allocations: 39.89 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4162, allocations: 8.312 kB / 1.213 GB, free: 4.004 MB / 0.9669 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.0001074/0.4163, allocations: 125.8 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.4164, allocations: 23.88 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.4164, allocations: 12.5 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4164, allocations: 3.938 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4164, allocations: 3.938 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.4164, allocations: 0 / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.4169, allocations: 429.6 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4169, allocations: 4 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.4169, allocations: 4 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4169, allocations: 3.984 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4169, allocations: 4 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4169, allocations: 4 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.417, allocations: 7.938 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4172, allocations: 259.3 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.4173, allocations: 88.94 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.4173, allocations: 4 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.4174, allocations: 11.98 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.4174, allocations: 7.984 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.4175, allocations: 19.92 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.4175, allocations: 91.27 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4175, allocations: 0 / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002565/0.4178, allocations: 31.98 kB / 1.214 GB, free: 2.785 MB / 0.9669 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.0001714/0.418, allocations: 115.2 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.4183, allocations: 191.3 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4183, allocations: 0 / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.4184, allocations: 68.22 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.4187, allocations: 19.92 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.4191, allocations: 199.9 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.4194, allocations: 0.6884 MB / 1.215 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.4194, allocations: 16.55 kB / 1.215 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.4194, allocations: 15.44 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.4194, allocations: 0 / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of Templates: time 0.004304/0.4237, allocations: 1.648 MB / 1.217 GB, free: 15.78 MB / 0.9825 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