Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 289.7 MB / 302.2 MB, free: 2.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001186, allocations: 180.3 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008896/0.0008897, allocations: 88.16 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.769e-05, allocations: 8 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7401/0.9685, allocations: 138.7 MB / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.9687, allocations: 69.64 kB / 1.115 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002601/0.9714, allocations: 0.9433 MB / 1.116 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9714, allocations: 0.6562 kB / 1.116 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.9714, allocations: 0 / 1.116 GB, free: 44.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004065/0.9718, allocations: 365.1 kB / 1.117 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.9719, allocations: 8.031 kB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.9719, allocations: 8.062 kB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.972, allocations: 178.4 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.972, allocations: 4 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.9721, allocations: 11.95 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.9722, allocations: 47.17 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9722, allocations: 0 / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9722, allocations: 0.5156 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.9722, allocations: 0 / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.9723, allocations: 19.38 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.9727, allocations: 308.8 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.9729, allocations: 41.25 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.973, allocations: 17.02 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.973, allocations: 4 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.973, allocations: 34.5 kB / 1.117 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.973, allocations: 0.9375 kB / 1.117 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001707/0.9732, allocations: 48 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.9732, allocations: 51.41 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.9733, allocations: 112.5 kB / 1.117 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.9733, allocations: 29.58 kB / 1.117 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.9734, allocations: 91.23 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.9734, allocations: 11.23 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.9734, allocations: 0 / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.9735, allocations: 318.7 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.9735, allocations: 7.688 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.9735, allocations: 11.88 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.9736, allocations: 12.02 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9736, allocations: 0 / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.374e-05/0.9736, allocations: 52.53 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.9737, allocations: 4 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.9737, allocations: 0.75 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9737, allocations: 8 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.9738, allocations: 11.47 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.9738, allocations: 0 / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.9739, allocations: 18.88 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.9739, allocations: 11.33 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 4.762e-05/0.974, allocations: 108.7 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.974, allocations: 3.906 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.9741, allocations: 69.31 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9741, allocations: 0 / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9742, allocations: 0 / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9742, allocations: 0.5625 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.9743, allocations: 179 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9743, allocations: 0 / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.9744, allocations: 12.69 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9744, allocations: 3.469 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.9744, allocations: 0 / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9744, allocations: 7.172 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9744, allocations: 0 / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.9745, allocations: 151.1 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.9746, allocations: 81.61 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.9746, allocations: 0 / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.9747, allocations: 23.08 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.9748, allocations: 10.69 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.9748, allocations: 1.781 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.9748, allocations: 90.73 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9748, allocations: 0.8438 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001977/0.975, allocations: 8 kB / 1.119 GB, free: 41.57 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001194/0.9752, allocations: 109.7 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.9753, allocations: 15.81 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9753, allocations: 0 / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.9753, allocations: 23.12 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.9755, allocations: 8.125 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.9757, allocations: 71.33 kB / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.9758, allocations: 0.6875 MB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.9759, allocations: 7.391 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.9759, allocations: 7.438 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.9759, allocations: 0 / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.002356/0.9783, allocations: 0.6385 MB / 1.12 GB, free: 40.3 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)