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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 293 MB / 309 MB, free: 4.82 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.001007/0.001007, allocations: 168.6 kB / 378.7 MB, free: 1.035 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.4 MB / 0.6383 GB, free: 8.219 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.0007824/0.0007825, allocations: 99.41 kB / 0.7527 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004194, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7131/1.005, allocations: 142.6 MB / 1.13 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.006, allocations: 82.11 kB / 1.13 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.019/1.025, allocations: 6.998 MB / 1.137 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.936e-06/1.025, allocations: 0 / 1.137 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.409e-05/1.025, allocations: 4 kB / 1.137 GB, free: 27.14 MB / 0.7292 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.000859/1.025, allocations: 0.5315 MB / 1.137 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.026, allocations: 8.031 kB / 1.137 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/1.026, allocations: 25.31 kB / 1.137 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/1.026, allocations: 341.8 kB / 1.138 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/1.026, allocations: 4.375 kB / 1.138 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/1.026, allocations: 9.125 kB / 1.138 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/1.027, allocations: 83.84 kB / 1.138 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.027, allocations: 3.938 kB / 1.138 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/1.027, allocations: 5.453 kB / 1.138 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.027, allocations: 0 / 1.138 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/1.027, allocations: 42.41 kB / 1.138 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/1.028, allocations: 441.8 kB / 1.138 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/1.028, allocations: 91.16 kB / 1.138 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/1.028, allocations: 28.23 kB / 1.138 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/1.028, allocations: 0 / 1.138 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/1.028, allocations: 82.25 kB / 1.138 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/1.028, allocations: 0 / 1.138 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003843/1.029, allocations: 142.1 kB / 1.138 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/1.029, allocations: 56.53 kB / 1.138 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/1.029, allocations: 361.7 kB / 1.139 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/1.029, allocations: 34.27 kB / 1.139 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/1.029, allocations: 138.8 kB / 1.139 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/1.029, allocations: 18.2 kB / 1.139 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/1.029, allocations: 8 kB / 1.139 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.029, allocations: 334.9 kB / 1.139 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.03, allocations: 73.23 kB / 1.139 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/1.03, allocations: 96.73 kB / 1.139 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/1.03, allocations: 106.1 kB / 1.14 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.03, allocations: 0 / 1.14 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003349/1.03, allocations: 220.1 kB / 1.14 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.03, allocations: 4 kB / 1.14 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.03, allocations: 5.844 kB / 1.14 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.03, allocations: 4.062 kB / 1.14 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.03, allocations: 23.55 kB / 1.14 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.03, allocations: 4 kB / 1.14 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/1.031, allocations: 19.5 kB / 1.14 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/1.031, allocations: 9.953 kB / 1.14 GB, free: 23.93 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 () * 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.0001284/1.031, allocations: 154.5 kB / 1.14 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/1.031, allocations: 20.98 kB / 1.14 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/1.031, allocations: 126.9 kB / 1.14 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.031, allocations: 0.7031 kB / 1.14 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.031, allocations: 4.562 kB / 1.14 GB, free: 23.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.031, allocations: 4.547 kB / 1.14 GB, free: 23.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/1.031, allocations: 245.9 kB / 1.14 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.031, allocations: 4.656 kB / 1.14 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/1.031, allocations: 6.156 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.031, allocations: 0 / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.031, allocations: 5.359 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.031, allocations: 4 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.031, allocations: 4 kB / 1.14 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/1.032, allocations: 146.4 kB / 1.141 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/1.032, allocations: 104.1 kB / 1.141 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/1.032, allocations: 4.75 kB / 1.141 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/1.032, allocations: 17.36 kB / 1.141 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/1.032, allocations: 17.3 kB / 1.141 GB, free: 23.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/1.032, allocations: 9.156 kB / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002098/1.032, allocations: 228.3 kB / 1.141 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 1.141 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000276/1.032, allocations: 50.73 kB / 1.141 GB, free: 22.8 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) * 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.001056/1.033, allocations: 435.8 kB / 1.141 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000255/1.034, allocations: 115.9 kB / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.034, allocations: 0 / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/1.034, allocations: 35.64 kB / 1.142 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/1.034, allocations: 48.11 kB / 1.142 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/1.035, allocations: 426.5 kB / 1.142 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/1.035, allocations: 0.7469 MB / 1.143 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001032/1.035, allocations: 32.27 kB / 1.143 GB, free: 21.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/1.035, allocations: 25.27 kB / 1.143 GB, free: 21.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.035, allocations: 4 kB / 1.143 GB, free: 21.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.006351/1.042, allocations: 2.69 MB / 1.145 GB, free: 19.63 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)