Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001318/0.001318, allocations: 172.9 kB / 361.4 MB, free: 6.867 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.625/1.625, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009013/0.0009018, allocations: 92.5 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.323e-05, allocations: 8 kB / 0.8518 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6662/0.6662, allocations: 115.3 MB / 0.9644 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.8528, allocations: 140.8 MB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.8531, allocations: 78.25 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01804/0.8711, allocations: 6.886 MB / 1.109 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8712, allocations: 0 / 1.109 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.8712, allocations: 4 kB / 1.109 GB, free: 8.164 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.000643/0.8719, allocations: 489.8 kB / 1.109 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.8719, allocations: 8.031 kB / 1.109 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/0.872, allocations: 24.75 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.8726, allocations: 342.2 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.8726, allocations: 4 kB / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.8726, allocations: 4 kB / 1.11 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/0.8727, allocations: 35.98 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.8729, allocations: 65.67 kB / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8729, allocations: 0 / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8729, allocations: 0 / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8729, allocations: 8 kB / 1.11 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.8736, allocations: 413 kB / 1.11 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.8737, allocations: 74.67 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.8738, allocations: 28.97 kB / 1.11 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.8738, allocations: 7.984 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.874, allocations: 79.31 kB / 1.11 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.874, allocations: 5.219 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000244/0.8742, allocations: 102.8 kB / 1.11 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.8743, allocations: 55.41 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.8746, allocations: 318.3 kB / 1.111 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.8747, allocations: 25.7 kB / 1.111 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.8748, allocations: 136 kB / 1.111 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.8748, allocations: 19.75 kB / 1.111 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.8748, allocations: 0 / 1.111 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.875, allocations: 338.8 kB / 1.111 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.8751, allocations: 63.97 kB / 1.111 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.8752, allocations: 82.56 kB / 1.111 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.8754, allocations: 76.45 kB / 1.111 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8754, allocations: 0 / 1.111 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003678/0.8758, allocations: 218.4 kB / 1.112 GB, free: 5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8758, allocations: 4.625 kB / 1.112 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8758, allocations: 4.062 kB / 1.112 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8758, allocations: 4 kB / 1.112 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.876, allocations: 23.92 kB / 1.112 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.876, allocations: 3.953 kB / 1.112 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.8761, allocations: 23.83 kB / 1.112 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.8761, allocations: 4 kB / 1.112 GB, free: 4.934 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 9.379e-05/0.8762, allocations: 109.7 kB / 1.112 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.8763, allocations: 27.72 kB / 1.112 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.8765, allocations: 115.5 kB / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8765, allocations: 0 / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8766, allocations: 3.375 kB / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.8766, allocations: 7.938 kB / 1.112 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.8768, allocations: 214.1 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8768, allocations: 4 kB / 1.112 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.8768, allocations: 7.984 kB / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8768, allocations: 0 / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.8768, allocations: 0 / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8768, allocations: 4 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8769, allocations: 0 / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.877, allocations: 146.1 kB / 1.112 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.8771, allocations: 104.8 kB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.8772, allocations: 4 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.8773, allocations: 11.98 kB / 1.112 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.8773, allocations: 11.98 kB / 1.112 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.8773, allocations: 4 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002028/0.8775, allocations: 214 kB / 1.113 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8776, allocations: 4 kB / 1.113 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002651/0.8778, allocations: 52.05 kB / 1.113 GB, free: 3.824 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.0008288/0.8787, allocations: 363.5 kB / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.8789, allocations: 111.9 kB / 1.113 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8789, allocations: 0 / 1.113 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.879, allocations: 31.94 kB / 1.113 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.8793, allocations: 47.05 kB / 1.113 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.8798, allocations: 283.9 kB / 1.113 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.8801, allocations: 0.7627 MB / 1.114 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.746e-05/0.8802, allocations: 25.84 kB / 1.114 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.8803, allocations: 19.44 kB / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.8803, allocations: 0 / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of Templates: time 0.005453/0.8858, allocations: 2.49 MB / 1.117 GB, free: 15.84 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)