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.742/2.742, allocations: 287.5 MB / 302.5 MB, free: 8.414 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.001502/0.001501, allocations: 187 kB / 371 MB, free: 10.79 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.058/2.058, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001208, allocations: 102.4 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005686/0.0005687, allocations: 14.67 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2189, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9622/1.181, allocations: 141.4 MB / 1.116 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.181, allocations: 75.86 kB / 1.117 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02843/1.21, allocations: 6.962 MB / 1.123 GB, free: 31.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/1.21, allocations: 4.031 kB / 1.123 GB, free: 31.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.191e-05/1.21, allocations: 3.938 kB / 1.123 GB, free: 31.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00102/1.211, allocations: 0.5318 MB / 1.124 GB, free: 30.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.211, allocations: 11.56 kB / 1.124 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/1.211, allocations: 31.09 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007385/1.212, allocations: 331.4 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/1.212, allocations: 7.812 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/1.212, allocations: 3.969 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/1.212, allocations: 79.78 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.212, allocations: 0 / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/1.212, allocations: 0 / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/1.212, allocations: 7.875 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/1.213, allocations: 41.06 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/1.213, allocations: 437.1 kB / 1.125 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/1.214, allocations: 87.97 kB / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/1.214, allocations: 0 / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/1.214, allocations: 90.97 kB / 1.125 GB, free: 30.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/1.214, allocations: 4 kB / 1.125 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004797/1.215, allocations: 129.4 kB / 1.125 GB, free: 30.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.215, allocations: 51.41 kB / 1.125 GB, free: 29.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/1.215, allocations: 335.8 kB / 1.125 GB, free: 29.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/1.215, allocations: 32.52 kB / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.215, allocations: 135.8 kB / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/1.215, allocations: 20.98 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/1.215, allocations: 7.25 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.216, allocations: 339.6 kB / 1.126 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/1.216, allocations: 69.66 kB / 1.126 GB, free: 29.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/1.216, allocations: 96.06 kB / 1.126 GB, free: 29.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/1.216, allocations: 66.31 kB / 1.126 GB, free: 29.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.216, allocations: 0 / 1.126 GB, free: 29.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005244/1.217, allocations: 220.1 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.217, allocations: 3.875 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/1.217, allocations: 4.062 kB / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.217, allocations: 7.766 kB / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.217, allocations: 24.86 kB / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.217, allocations: 0 / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/1.217, allocations: 21.64 kB / 1.126 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/1.217, allocations: 7.688 kB / 1.126 GB, free: 29.34 MB / 0.698 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 () * Number of clocked 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.0001933/1.218, allocations: 152.7 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/1.218, allocations: 23.31 kB / 1.127 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/1.218, allocations: 132.3 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.218, allocations: 3.953 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.218, allocations: 3.781 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.218, allocations: 6.344 kB / 1.127 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/1.218, allocations: 244.9 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/1.218, allocations: 0 / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/1.218, allocations: 14.02 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.218, allocations: 0 / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/1.218, allocations: 7.812 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.218, allocations: 0 / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.218, allocations: 3.953 kB / 1.127 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/1.219, allocations: 143.9 kB / 1.127 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/1.219, allocations: 95.36 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/1.219, allocations: 7.656 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/1.219, allocations: 14.58 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/1.219, allocations: 12.42 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/1.219, allocations: 9.781 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003133/1.219, allocations: 229.6 kB / 1.127 GB, free: 28.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.219, allocations: 0 / 1.127 GB, free: 28.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003772/1.22, allocations: 56.59 kB / 1.128 GB, free: 28.67 MB / 0.698 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) * Number of clocked states: 0 () * 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.001274/1.221, allocations: 435 kB / 1.128 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003822/1.222, allocations: 115.7 kB / 1.128 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.222, allocations: 3.875 kB / 1.128 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/1.222, allocations: 28.92 kB / 1.128 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/1.222, allocations: 40.91 kB / 1.128 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/1.223, allocations: 431.2 kB / 1.129 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/1.223, allocations: 0.7534 MB / 1.129 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000136/1.224, allocations: 22.55 kB / 1.129 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/1.224, allocations: 25.67 kB / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.603e-06/1.224, allocations: 0 / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of Templates: time 0.008352/1.232, allocations: 2.682 MB / 1.132 GB, free: 27.13 MB / 0.698 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)