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/Buildings 9.0.0-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.603/1.603, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 186.8 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007645/0.0007644, allocations: 95.36 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004136, allocations: 18.88 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6087/0.6091, allocations: 120.3 MB / 1.026 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.7922, allocations: 141.6 MB / 1.165 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.7924, allocations: 73.22 kB / 1.165 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005635/0.7981, allocations: 2.085 MB / 1.167 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7981, allocations: 0 / 1.167 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.7981, allocations: 4 kB / 1.167 GB, free: 14.56 MB / 0.7448 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.0004539/0.7986, allocations: 409 kB / 1.167 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7986, allocations: 12.03 kB / 1.167 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.7987, allocations: 16.78 kB / 1.167 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.7988, allocations: 164.4 kB / 1.167 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.7989, allocations: 4.375 kB / 1.167 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.7989, allocations: 16.36 kB / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.7991, allocations: 83.22 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7991, allocations: 192 / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.7991, allocations: 7.938 kB / 1.167 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7991, allocations: 3.938 kB / 1.167 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.692e-05/0.7992, allocations: 39.97 kB / 1.167 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.7999, allocations: 372.7 kB / 1.168 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.8001, allocations: 106.5 kB / 1.168 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.8002, allocations: 45.92 kB / 1.168 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.8002, allocations: 0 / 1.168 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.8005, allocations: 135.4 kB / 1.168 GB, free: 13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.8005, allocations: 0 / 1.168 GB, free: 13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0004168/0.8009, allocations: 201.5 kB / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.801, allocations: 59.39 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.8011, allocations: 113.8 kB / 1.168 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.8011, allocations: 33.7 kB / 1.168 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.8012, allocations: 84.14 kB / 1.168 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.8013, allocations: 35.59 kB / 1.169 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.8013, allocations: 0 / 1.169 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8014, allocations: 322.8 kB / 1.169 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.8015, allocations: 51.98 kB / 1.169 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.8017, allocations: 93.8 kB / 1.169 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.8019, allocations: 140.1 kB / 1.169 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.8019, allocations: 0 / 1.169 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003496/0.8023, allocations: 223.1 kB / 1.169 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.8023, allocations: 33.7 kB / 1.169 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8023, allocations: 7.984 kB / 1.169 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8024, allocations: 0 / 1.169 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.8024, allocations: 11.94 kB / 1.169 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8024, allocations: 4 kB / 1.169 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.8027, allocations: 48.08 kB / 1.169 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.8027, allocations: 8 kB / 1.169 GB, free: 11.46 MB / 0.7448 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.0001181/0.8028, allocations: 134.2 kB / 1.17 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.8029, allocations: 16.91 kB / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.8029, allocations: 8.5 kB / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8029, allocations: 0 / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.8029, allocations: 8 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8029, allocations: 3.938 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.8034, allocations: 432.1 kB / 1.17 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8034, allocations: 0 / 1.17 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.8034, allocations: 7.984 kB / 1.17 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8035, allocations: 0 / 1.17 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.8035, allocations: 4 kB / 1.17 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8035, allocations: 0 / 1.17 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8035, allocations: 3.938 kB / 1.17 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.8038, allocations: 271.3 kB / 1.17 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.8038, allocations: 85.86 kB / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.8038, allocations: 4 kB / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.8039, allocations: 11.98 kB / 1.17 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.804, allocations: 15.97 kB / 1.17 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.804, allocations: 8 kB / 1.17 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.8041, allocations: 95.2 kB / 1.17 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8041, allocations: 0 / 1.17 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002783/0.8044, allocations: 43.94 kB / 1.171 GB, free: 10.23 MB / 0.7448 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.000175/0.8045, allocations: 115.2 kB / 1.171 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.8049, allocations: 197.7 kB / 1.171 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8049, allocations: 0 / 1.171 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.805, allocations: 71.97 kB / 1.171 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.8053, allocations: 25.11 kB / 1.171 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.8057, allocations: 203.6 kB / 1.171 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.8059, allocations: 0.6926 MB / 1.172 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.806, allocations: 8.562 kB / 1.172 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.806, allocations: 11.44 kB / 1.172 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.806, allocations: 0 / 1.172 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.003832/0.8098, allocations: 1.526 MB / 1.173 GB, free: 7.359 MB / 0.7448 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 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)