Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.652/2.652, allocations: 284.8 MB / 297.3 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 180.9 kB / 365.7 MB, free: 2.613 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, allocations: 205.1 MB / 0.6241 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 90.44 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.844e-05/4.856e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8506, allocations: 115.2 MB / 0.97 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/1.105, allocations: 137.5 MB / 1.104 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.106, allocations: 77.81 kB / 1.104 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004226/1.11, allocations: 0.9411 MB / 1.105 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.983e-06/1.11, allocations: 4 kB / 1.105 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.11, allocations: 0.875 kB / 1.105 GB, free: 13.93 MB / 0.7136 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.0006864/1.111, allocations: 361.8 kB / 1.106 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.111, allocations: 12.03 kB / 1.106 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/1.111, allocations: 9.328 kB / 1.106 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.111, allocations: 171 kB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/1.111, allocations: 0.8125 kB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/1.111, allocations: 6.344 kB / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/1.111, allocations: 50.39 kB / 1.106 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.111, allocations: 0 / 1.106 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/1.111, allocations: 11.81 kB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/1.111, allocations: 0 / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/1.111, allocations: 27.91 kB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/1.112, allocations: 308.4 kB / 1.106 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/1.112, allocations: 37.08 kB / 1.106 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/1.112, allocations: 16.8 kB / 1.106 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/1.113, allocations: 96 / 1.106 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.113, allocations: 34.55 kB / 1.106 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.953e-06/1.113, allocations: 4 kB / 1.106 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002083/1.113, allocations: 49.7 kB / 1.106 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.113, allocations: 55.36 kB / 1.106 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.113, allocations: 108.9 kB / 1.107 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/1.113, allocations: 25.7 kB / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/1.113, allocations: 84.14 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/1.113, allocations: 15.89 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/1.113, allocations: 0 / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.113, allocations: 314.8 kB / 1.107 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/1.113, allocations: 11.94 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/1.113, allocations: 12 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/1.113, allocations: 8 kB / 1.107 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.113, allocations: 0 / 1.107 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001375/1.114, allocations: 51.09 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.114, allocations: 8 kB / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.114, allocations: 0 / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.114, allocations: 0 / 1.107 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/1.114, allocations: 19.98 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.114, allocations: 1.719 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/1.114, allocations: 33.39 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/1.114, allocations: 0 / 1.107 GB, free: 11.94 MB / 0.7136 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 8.247e-05/1.114, allocations: 110.3 kB / 1.107 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/1.114, allocations: 4 kB / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/1.114, allocations: 57.72 kB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.114, allocations: 0 / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.114, allocations: 3.984 kB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.114, allocations: 2.734 kB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.115, allocations: 173.5 kB / 1.107 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.115, allocations: 1.406 kB / 1.107 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/1.115, allocations: 12.22 kB / 1.107 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/1.115, allocations: 5.812 kB / 1.107 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.115, allocations: 0 / 1.107 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.115, allocations: 4 kB / 1.107 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.115, allocations: 0 / 1.107 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/1.115, allocations: 159.3 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/1.115, allocations: 77.11 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/1.115, allocations: 4 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/1.115, allocations: 27.97 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/1.116, allocations: 3.984 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/1.116, allocations: 4 kB / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.449e-05/1.116, allocations: 89.25 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.9e-07/1.116, allocations: 0 / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00039/1.116, allocations: 4 kB / 1.108 GB, free: 11.11 MB / 0.7136 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.0001607/1.116, allocations: 99.25 kB / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000154/1.116, allocations: 31.92 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.116, allocations: 0 / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/1.116, allocations: 16 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.117, allocations: 9.359 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/1.117, allocations: 75.27 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/1.117, allocations: 0.6886 MB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.706e-05/1.117, allocations: 8 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/1.117, allocations: 7.438 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of SimCode: time 1.292e-06/1.117, allocations: 0 / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of Templates: time 0.003718/1.121, allocations: 0.638 MB / 1.109 GB, free: 9.527 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)