Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.659/2.659, allocations: 285 MB / 292.5 MB, free: 10.58 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.001432/0.001432, allocations: 196.2 kB / 360.7 MB, free: 7.223 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.208/2.208, allocations: 205.3 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.001047/0.001047, allocations: 89.95 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.037e-05, allocations: 8 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8493, allocations: 115.3 MB / 0.9635 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/1.115, allocations: 140.6 MB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.115, allocations: 78.12 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0312/1.147, allocations: 6.885 MB / 1.108 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/1.147, allocations: 0 / 1.108 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.155e-05/1.147, allocations: 4 kB / 1.108 GB, free: 8.961 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008523/1.148, allocations: 493.6 kB / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.148, allocations: 12.03 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.969e-05/1.148, allocations: 19.72 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/1.149, allocations: 338.2 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.149, allocations: 0 / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/1.149, allocations: 11.98 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000151/1.149, allocations: 32 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/1.149, allocations: 73.66 kB / 1.109 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.149, allocations: 0 / 1.109 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/1.149, allocations: 0 / 1.109 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.149, allocations: 0 / 1.109 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/1.15, allocations: 417 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/1.15, allocations: 70.69 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/1.15, allocations: 32.97 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/1.151, allocations: 0 / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/1.151, allocations: 79.31 kB / 1.109 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.498e-06/1.151, allocations: 3.984 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003472/1.151, allocations: 107.1 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.151, allocations: 51.41 kB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/1.152, allocations: 322.3 kB / 1.11 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/1.152, allocations: 29.7 kB / 1.11 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.152, allocations: 136 kB / 1.11 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/1.152, allocations: 19.75 kB / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/1.152, allocations: 0 / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.152, allocations: 334.8 kB / 1.11 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/1.152, allocations: 63.98 kB / 1.11 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/1.153, allocations: 87.64 kB / 1.11 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/1.153, allocations: 76.91 kB / 1.11 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.153, allocations: 0 / 1.11 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006098/1.154, allocations: 207.7 kB / 1.11 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.154, allocations: 8 kB / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.154, allocations: 3.984 kB / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.154, allocations: 0 / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/1.154, allocations: 31.89 kB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.154, allocations: 2.312 kB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/1.154, allocations: 23.86 kB / 1.111 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/1.154, allocations: 8 kB / 1.111 GB, free: 5.734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001495/1.154, allocations: 109 kB / 1.111 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/1.154, allocations: 19.72 kB / 1.111 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/1.155, allocations: 119.5 kB / 1.111 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-06/1.155, allocations: 4 kB / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.155, allocations: 7.953 kB / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.155, allocations: 0 / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/1.155, allocations: 218.1 kB / 1.111 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.155, allocations: 0.9375 kB / 1.111 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/1.155, allocations: 4 kB / 1.111 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.155, allocations: 0 / 1.111 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/1.155, allocations: 7.984 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.155, allocations: 0 / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.155, allocations: 0 / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/1.156, allocations: 146.2 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/1.156, allocations: 100.8 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/1.156, allocations: 7.984 kB / 1.111 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/1.156, allocations: 11.94 kB / 1.111 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/1.156, allocations: 17 kB / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.156, allocations: 0 / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003409/1.156, allocations: 218 kB / 1.111 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.156, allocations: 0 / 1.111 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004216/1.157, allocations: 60.05 kB / 1.112 GB, free: 4.621 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001145/1.158, allocations: 361.3 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003595/1.158, allocations: 99.91 kB / 1.112 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.158, allocations: 4 kB / 1.112 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/1.158, allocations: 39.98 kB / 1.112 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/1.159, allocations: 48 kB / 1.112 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/1.16, allocations: 284.4 kB / 1.112 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/1.16, allocations: 0.7561 MB / 1.113 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001743/1.161, allocations: 27.56 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/1.161, allocations: 19.44 kB / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/1.161, allocations: 0 / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.009297/1.17, allocations: 2.485 MB / 1.116 GB, free: 0.668 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)