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.764/2.764, allocations: 284.8 MB / 297.3 MB, free: 6.355 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.001988/0.001988, allocations: 188.8 kB / 365.7 MB, free: 2.57 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 1.992/1.992, allocations: 205.2 MB / 0.6241 GB, free: 8.176 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.001091/0.00109, allocations: 92.11 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.854e-05/4.861e-05, allocations: 12 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8106, allocations: 115.2 MB / 0.97 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/1.11, allocations: 141.3 MB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.11, allocations: 83.27 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03387/1.144, allocations: 6.949 MB / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.614e-06/1.144, allocations: 0 / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.035e-05/1.144, allocations: 4 kB / 1.115 GB, free: 4.176 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.001404/1.146, allocations: 487 kB / 1.115 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.885e-05/1.146, allocations: 8.031 kB / 1.115 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/1.146, allocations: 23.72 kB / 1.115 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/1.148, allocations: 342.2 kB / 1.116 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/1.148, allocations: 6.156 kB / 1.116 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/1.148, allocations: 4 kB / 1.116 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/1.148, allocations: 77.67 kB / 1.116 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.148, allocations: 0 / 1.116 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/1.148, allocations: 4 kB / 1.116 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/1.148, allocations: 0 / 1.116 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/1.149, allocations: 47.92 kB / 1.116 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.15, allocations: 444.5 kB / 1.116 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/1.151, allocations: 90.59 kB / 1.116 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/1.151, allocations: 28.97 kB / 1.116 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/1.151, allocations: 0 / 1.116 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/1.151, allocations: 75.34 kB / 1.116 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.875e-06/1.151, allocations: 4 kB / 1.116 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005809/1.152, allocations: 109.3 kB / 1.117 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.152, allocations: 55.41 kB / 1.117 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/1.153, allocations: 327.4 kB / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/1.153, allocations: 29.7 kB / 1.117 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/1.153, allocations: 136 kB / 1.117 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/1.154, allocations: 23.73 kB / 1.117 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/1.154, allocations: 8 kB / 1.117 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.154, allocations: 330.8 kB / 1.117 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/1.154, allocations: 71.98 kB / 1.117 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/1.155, allocations: 87.8 kB / 1.118 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/1.155, allocations: 70.27 kB / 1.118 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.155, allocations: 0 / 1.118 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009092/1.156, allocations: 210.9 kB / 1.118 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/1.156, allocations: 7.984 kB / 1.118 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.156, allocations: 7.953 kB / 1.118 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.156, allocations: 4.062 kB / 1.118 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.156, allocations: 16 kB / 1.118 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.156, allocations: 11.92 kB / 1.118 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/1.157, allocations: 15.91 kB / 1.118 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/1.157, allocations: 11.98 kB / 1.118 GB, free: 0.8477 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.0001657/1.157, allocations: 118.7 kB / 1.118 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/1.157, allocations: 24.69 kB / 1.118 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/1.158, allocations: 127.5 kB / 1.118 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.158, allocations: 7.953 kB / 1.118 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.158, allocations: 0 / 1.118 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.158, allocations: 0 / 1.118 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/1.158, allocations: 249.5 kB / 1.118 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.158, allocations: 0 / 1.118 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/1.159, allocations: 4 kB / 1.118 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.159, allocations: 0 / 1.118 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/1.159, allocations: 4 kB / 1.118 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/1.159, allocations: 4 kB / 1.118 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.159, allocations: 7.953 kB / 1.118 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/1.159, allocations: 131.3 kB / 1.119 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/1.159, allocations: 105 kB / 1.119 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/1.16, allocations: 11.94 kB / 1.119 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/1.16, allocations: 11.98 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.16, allocations: 11.77 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/1.16, allocations: 13.86 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006115/1.161, allocations: 227.1 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.82e-07/1.161, allocations: 0 / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007178/1.161, allocations: 52.06 kB / 1.119 GB, free: 15.68 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.001958/1.163, allocations: 388.5 kB / 1.119 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006431/1.164, allocations: 107.9 kB / 1.119 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.164, allocations: 64 / 1.119 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/1.164, allocations: 37.97 kB / 1.119 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/1.165, allocations: 50.91 kB / 1.119 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.166, allocations: 275.1 kB / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/1.167, allocations: 0.7597 MB / 1.12 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002965/1.167, allocations: 23.27 kB / 1.121 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/1.168, allocations: 23.42 kB / 1.121 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.653e-06/1.168, allocations: 0 / 1.121 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.01534/1.183, allocations: 2.682 MB / 1.123 GB, free: 11.53 MB / 0.7292 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)