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.264/2.264, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001234/0.001234, allocations: 188.8 kB / 492.3 MB, free: 0.6055 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.641/1.641, allocations: 221.3 MB / 0.7872 GB, free: 12.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.0009855/0.0009856, allocations: 97.22 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.242e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3122, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9264/1.239, allocations: 149.5 MB / 1.358 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.239, allocations: 68.12 kB / 1.358 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006602/1.246, allocations: 2.08 MB / 1.361 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.194e-06/1.246, allocations: 0 / 1.361 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.246, allocations: 3.875 kB / 1.361 GB, free: 34.55 MB / 0.8386 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.0005042/1.246, allocations: 401.7 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.246, allocations: 11.03 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/1.246, allocations: 8.938 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/1.246, allocations: 178.6 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/1.246, allocations: 9.188 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/1.246, allocations: 12.02 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.247, allocations: 79.62 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.247, allocations: 3.938 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.247, allocations: 8.547 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.247, allocations: 4 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/1.247, allocations: 35.17 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/1.247, allocations: 372.2 kB / 1.362 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/1.248, allocations: 97.66 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/1.248, allocations: 38.77 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/1.248, allocations: 0 / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/1.248, allocations: 130.8 kB / 1.362 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/1.248, allocations: 0 / 1.362 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002678/1.248, allocations: 166.8 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/1.248, allocations: 63.17 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/1.248, allocations: 105.8 kB / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/1.248, allocations: 34.03 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/1.248, allocations: 89.55 kB / 1.362 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/1.248, allocations: 28.7 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/1.248, allocations: 3.312 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/1.249, allocations: 321.5 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/1.249, allocations: 49.41 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/1.249, allocations: 90.78 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/1.249, allocations: 76.67 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.249, allocations: 0 / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002902/1.249, allocations: 220.1 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/1.249, allocations: 35.78 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.249, allocations: 3.875 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.249, allocations: 5.578 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/1.249, allocations: 16.28 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.249, allocations: 7.828 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/1.25, allocations: 48.33 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/1.25, allocations: 9.75 kB / 1.363 GB, free: 32.7 MB / 0.8386 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 () * 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 9.205e-05/1.25, allocations: 117 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/1.25, allocations: 9.609 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/1.25, allocations: 9.562 kB / 1.363 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.25, allocations: 7.812 kB / 1.363 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.25, allocations: 4 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.25, allocations: 3.953 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/1.25, allocations: 422.3 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.25, allocations: 7.984 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/1.25, allocations: 3.875 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.25, allocations: 1.406 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/1.25, allocations: 9.344 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/1.25, allocations: 8.828 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.25, allocations: 0 / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/1.251, allocations: 258.5 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/1.251, allocations: 82.5 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/1.251, allocations: 8.75 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/1.251, allocations: 11.28 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/1.251, allocations: 17.81 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/1.251, allocations: 9.812 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.466e-05/1.251, allocations: 92.78 kB / 1.364 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-07/1.251, allocations: 0 / 1.364 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002459/1.251, allocations: 35.08 kB / 1.364 GB, free: 31.94 MB / 0.8386 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) * 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.0001742/1.251, allocations: 123.2 kB / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002456/1.252, allocations: 199.7 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.252, allocations: 0 / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/1.252, allocations: 73.36 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/1.252, allocations: 15.88 kB / 1.365 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/1.252, allocations: 132.8 kB / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/1.252, allocations: 0.6919 MB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.887e-05/1.252, allocations: 6.469 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/1.252, allocations: 16.62 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.252, allocations: 4 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.0037/1.256, allocations: 1.495 MB / 1.367 GB, free: 30.85 MB / 0.8386 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