Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 289.9 MB / 297.4 MB, free: 6.445 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.001195/0.001195, allocations: 172.9 kB / 366.7 MB, free: 1.695 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.724/1.724, allocations: 205.3 MB / 0.626 GB, free: 7.145 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.0008752/0.0008751, allocations: 83.33 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.14e-05, allocations: 12 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7612, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.9612, allocations: 141.8 MB / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.9614, allocations: 76.61 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01974/0.9812, allocations: 6.894 MB / 1.119 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9813, allocations: 4 kB / 1.119 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.774e-05/0.9813, allocations: 4 kB / 1.119 GB, free: 1.551 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.000801/0.9821, allocations: 489.8 kB / 1.119 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.9822, allocations: 8.031 kB / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.9823, allocations: 27.7 kB / 1.119 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.983, allocations: 334.3 kB / 1.119 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.983, allocations: 4 kB / 1.119 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.983, allocations: 4 kB / 1.119 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001226/0.9832, allocations: 39.92 kB / 1.119 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.9833, allocations: 71.55 kB / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9833, allocations: 0 / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.9833, allocations: 0 / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.9834, allocations: 7 kB / 1.119 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.9841, allocations: 417 kB / 1.12 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.9844, allocations: 78.67 kB / 1.12 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.9844, allocations: 24.98 kB / 1.12 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.9844, allocations: 4 kB / 1.12 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.9846, allocations: 71.38 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 3.727e-06/0.9846, allocations: 3.984 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002701/0.9849, allocations: 117.3 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.985, allocations: 55.41 kB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.9853, allocations: 314.3 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.9854, allocations: 25.7 kB / 1.121 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.9855, allocations: 140 kB / 1.121 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.9855, allocations: 19.73 kB / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.9856, allocations: 0 / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9857, allocations: 338.8 kB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.9858, allocations: 55.98 kB / 1.121 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.986, allocations: 95.8 kB / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.9862, allocations: 74.77 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9862, allocations: 0 / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004066/0.9866, allocations: 210.5 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9866, allocations: 4 kB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9867, allocations: 0 / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9867, allocations: 8.062 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.9868, allocations: 19.98 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.9868, allocations: 6.219 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.987, allocations: 19.89 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.987, allocations: 15.88 kB / 1.121 GB, free: 14.3 MB / 0.7292 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 9.941e-05/0.9871, allocations: 105 kB / 1.122 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.9872, allocations: 23.72 kB / 1.122 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.9874, allocations: 115.5 kB / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.9874, allocations: 0 / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9874, allocations: 0 / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.9874, allocations: 7.891 kB / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.9876, allocations: 226.1 kB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9876, allocations: 4 kB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.9877, allocations: 4 kB / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.9877, allocations: 0 / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.9877, allocations: 0 / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.9877, allocations: 1.812 kB / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.587e-05/0.9877, allocations: 4 kB / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.9879, allocations: 132.8 kB / 1.122 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.988, allocations: 104.8 kB / 1.122 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.9881, allocations: 4 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.9882, allocations: 11.98 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.9882, allocations: 11.98 kB / 1.122 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.9883, allocations: 11.98 kB / 1.122 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002255/0.9885, allocations: 214 kB / 1.122 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.533e-06/0.9885, allocations: 5.219 kB / 1.122 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002787/0.9888, allocations: 44 kB / 1.122 GB, free: 13.21 MB / 0.7292 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.0009137/0.9897, allocations: 366.6 kB / 1.123 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.9899, allocations: 103.9 kB / 1.123 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9899, allocations: 0 / 1.123 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.99, allocations: 28 kB / 1.123 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.9903, allocations: 50.86 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.9909, allocations: 282.5 kB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.9914, allocations: 0.7595 MB / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.9915, allocations: 34.08 kB / 1.124 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.9916, allocations: 23.42 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.9916, allocations: 0 / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.006238/0.9978, allocations: 2.474 MB / 1.126 GB, free: 9.25 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)