Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 181.2 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009653/0.0009654, allocations: 104.2 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 6.938 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.5449, allocations: 149.6 MB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.5452, allocations: 71.95 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008484/0.5537, allocations: 2.081 MB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5538, allocations: 0 / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.5538, allocations: 4 kB / 1.371 GB, free: 10.29 MB / 0.8698 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.0007857/0.5546, allocations: 397.6 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.5547, allocations: 8.031 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.885e-05/0.5548, allocations: 15.89 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.555, allocations: 174.9 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.5551, allocations: 4 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.5551, allocations: 19.98 kB / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.5554, allocations: 77.64 kB / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5554, allocations: 3.938 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.5555, allocations: 11.98 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.5555, allocations: 0 / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.5557, allocations: 43.84 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.5567, allocations: 380.6 kB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.557, allocations: 94.55 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.557, allocations: 0 / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.5574, allocations: 143.1 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/0.5574, allocations: 0 / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0005982/0.558, allocations: 201.5 kB / 1.373 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.5581, allocations: 59.36 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.5583, allocations: 105 kB / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.5583, allocations: 33.7 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5584, allocations: 92.19 kB / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.5585, allocations: 27.7 kB / 1.373 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.5585, allocations: 4 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5587, allocations: 322.8 kB / 1.373 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.5589, allocations: 55.91 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.5591, allocations: 89.81 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.5593, allocations: 81.69 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5593, allocations: 0 / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005401/0.5599, allocations: 207.1 kB / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/0.56, allocations: 37.7 kB / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.56, allocations: 0 / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.56, allocations: 4 kB / 1.374 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.5601, allocations: 15.94 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.5601, allocations: 3.938 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.5605, allocations: 55.94 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.5605, allocations: 15.97 kB / 1.374 GB, free: 7.316 MB / 0.8698 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.0001668/0.5607, allocations: 129.6 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.5607, allocations: 11.98 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.5608, allocations: 12.5 kB / 1.374 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5608, allocations: 0 / 1.374 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.5608, allocations: 3.953 kB / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5608, allocations: 0 / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.5615, allocations: 434.4 kB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5615, allocations: 4 kB / 1.374 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.5616, allocations: 11.98 kB / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5616, allocations: 0 / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5616, allocations: 4 kB / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5616, allocations: 3.953 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5616, allocations: 4.312 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.5621, allocations: 262.9 kB / 1.375 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.5622, allocations: 81.02 kB / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.5622, allocations: 8 kB / 1.375 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.5624, allocations: 11.92 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.5625, allocations: 27.92 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.5625, allocations: 4 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.5626, allocations: 95.25 kB / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5626, allocations: 0 / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004861/0.5631, allocations: 32 kB / 1.375 GB, free: 6.098 MB / 0.8698 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.0002857/0.5634, allocations: 124.9 kB / 1.375 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.5638, allocations: 195.5 kB / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5639, allocations: 4.062 kB / 1.375 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.564, allocations: 75.91 kB / 1.375 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.5643, allocations: 7.938 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.5649, allocations: 203.2 kB / 1.375 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5653, allocations: 0.7004 MB / 1.376 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.076e-05/0.5654, allocations: 8.562 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.5654, allocations: 23.36 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/0.5654, allocations: 0 / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of Templates: time 0.005929/0.5714, allocations: 1.498 MB / 1.378 GB, free: 3.207 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches