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.799/2.799, allocations: 285 MB / 292.5 MB, free: 10.5 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.001416/0.001416, allocations: 184.8 kB / 360.7 MB, free: 7.227 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.185/2.185, allocations: 205.2 MB / 0.6192 GB, free: 12.13 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.001034/0.001033, allocations: 91.36 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.583e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.8926, allocations: 115.2 MB / 0.9635 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.129, allocations: 136.9 MB / 1.097 GB, free: 3.609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.129, allocations: 67.97 kB / 1.097 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004105/1.134, allocations: 0.9417 MB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/1.134, allocations: 0 / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.134, allocations: 0.625 kB / 1.098 GB, free: 2.629 MB / 0.698 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.0006592/1.134, allocations: 370.8 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.134, allocations: 8.031 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/1.134, allocations: 9.766 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.135, allocations: 171 kB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/1.135, allocations: 8 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.135, allocations: 0.5312 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001209/1.135, allocations: 20 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/1.135, allocations: 46.23 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.135, allocations: 4.562 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.135, allocations: 1.062 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.135, allocations: 0 / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/1.136, allocations: 280.7 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/1.136, allocations: 39.16 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/1.136, allocations: 14.45 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/1.136, allocations: 0 / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/1.136, allocations: 38.56 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/1.136, allocations: 0.9375 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001907/1.136, allocations: 49.72 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/1.136, allocations: 54.69 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/1.136, allocations: 95.27 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/1.136, allocations: 29.7 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/1.137, allocations: 96.03 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/1.137, allocations: 3.906 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.137, allocations: 4 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.137, allocations: 318.8 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/1.137, allocations: 8 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/1.137, allocations: 9.406 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/1.137, allocations: 8 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.137, allocations: 0 / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/1.137, allocations: 53.62 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.137, allocations: 9.25 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.137, allocations: 4 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.137, allocations: 0 / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/1.137, allocations: 11.98 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/1.137, allocations: 0 / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/1.137, allocations: 19.64 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/1.137, allocations: 12 kB / 1.1 GB, free: 0.7031 MB / 0.698 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.66e-05/1.138, allocations: 108.7 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/1.138, allocations: 3.906 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/1.138, allocations: 65.44 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.138, allocations: 0 / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.138, allocations: 2.953 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.138, allocations: 4 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/1.138, allocations: 146.1 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/1.138, allocations: 0 / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/1.138, allocations: 15.98 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.138, allocations: 4 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/1.138, allocations: 0 / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.138, allocations: 0 / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.138, allocations: 0 / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/1.138, allocations: 144.1 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/1.138, allocations: 85.02 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/1.138, allocations: 4 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/1.139, allocations: 19.97 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/1.139, allocations: 10.14 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/1.139, allocations: 0 / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of sorting global known variables: time 7.017e-05/1.139, allocations: 83.36 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.139, allocations: 4 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003233/1.139, allocations: 8 kB / 1.101 GB, free: 15.93 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.000141/1.139, allocations: 99.19 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001322/1.14, allocations: 27.98 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.14, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/1.14, allocations: 12 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/1.14, allocations: 9.859 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/1.14, allocations: 74.23 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/1.14, allocations: 0.6885 MB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.467e-05/1.141, allocations: 4 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/1.141, allocations: 7.438 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/1.141, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.003379/1.144, allocations: 0.5675 MB / 1.102 GB, free: 14.43 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)