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.798/1.798, allocations: 285.4 MB / 298 MB, free: 6.004 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.00151/0.00151, allocations: 172.9 kB / 366.4 MB, free: 2.105 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.725/1.725, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0009166/0.0009164, allocations: 96.36 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.193e-05, allocations: 8 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7497, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.9232, allocations: 141.4 MB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.9235, allocations: 79.36 kB / 1.109 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02254/0.946, allocations: 6.944 MB / 1.116 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9461, allocations: 3.094 kB / 1.116 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.69e-05/0.9461, allocations: 4 kB / 1.116 GB, free: 3.395 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.0008169/0.9469, allocations: 489.2 kB / 1.116 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.947, allocations: 8.031 kB / 1.116 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.735e-05/0.9471, allocations: 23.72 kB / 1.116 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.9479, allocations: 338.8 kB / 1.117 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.948, allocations: 8 kB / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.948, allocations: 7.75 kB / 1.117 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.9482, allocations: 73.67 kB / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9483, allocations: 0 / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.9483, allocations: 7.984 kB / 1.117 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.9483, allocations: 4 kB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.9484, allocations: 32 kB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.9493, allocations: 456.4 kB / 1.117 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.9496, allocations: 82.62 kB / 1.117 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.9497, allocations: 28.97 kB / 1.117 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.9497, allocations: 0 / 1.117 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.9499, allocations: 75.39 kB / 1.117 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.9499, allocations: 0 / 1.117 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003448/0.9503, allocations: 109.3 kB / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.9504, allocations: 55.34 kB / 1.118 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.9509, allocations: 335.4 kB / 1.118 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.951, allocations: 29.7 kB / 1.118 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.9511, allocations: 140 kB / 1.118 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.9512, allocations: 19.75 kB / 1.118 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.9512, allocations: 0 / 1.118 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9514, allocations: 338.8 kB / 1.118 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.9516, allocations: 59.98 kB / 1.119 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.9518, allocations: 100.4 kB / 1.119 GB, free: 432 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.952, allocations: 59.97 kB / 1.119 GB, free: 372 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.952, allocations: 0 / 1.119 GB, free: 372 kB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004965/0.9525, allocations: 223.5 kB / 1.119 GB, free: 144 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9525, allocations: 4 kB / 1.119 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.9525, allocations: 3.375 kB / 1.119 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.9526, allocations: 7.953 kB / 1.119 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.9527, allocations: 19.98 kB / 1.119 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.9528, allocations: 64 / 1.119 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.953, allocations: 31.78 kB / 1.119 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.953, allocations: 7.984 kB / 1.119 GB, free: 72 kB / 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.0001199/0.9531, allocations: 113 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.9532, allocations: 19.72 kB / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.9535, allocations: 122 kB / 1.119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.9535, allocations: 3.984 kB / 1.119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.9535, allocations: 7.953 kB / 1.119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.9536, allocations: 3.984 kB / 1.119 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.9539, allocations: 249.5 kB / 1.119 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9539, allocations: 0 / 1.119 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.9539, allocations: 8 kB / 1.119 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9539, allocations: 0 / 1.119 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.954, allocations: 0 / 1.119 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.954, allocations: 0 / 1.119 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.954, allocations: 0 / 1.119 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.9543, allocations: 148.8 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.9544, allocations: 100.8 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.9544, allocations: 2.062 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.9546, allocations: 15.98 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.9547, allocations: 19.91 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.9547, allocations: 0 / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003515/0.955, allocations: 235 kB / 1.12 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9551, allocations: 0 / 1.12 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004822/0.9555, allocations: 52.06 kB / 1.12 GB, free: 14.89 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.001261/0.9568, allocations: 390.8 kB / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.9571, allocations: 103.9 kB / 1.12 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9572, allocations: 0 / 1.12 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.9573, allocations: 39.92 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.9577, allocations: 51.33 kB / 1.121 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.9584, allocations: 275.1 kB / 1.121 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.9588, allocations: 0.7583 MB / 1.122 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.959, allocations: 28.28 kB / 1.122 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.9591, allocations: 23.42 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.9591, allocations: 0 / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.008486/0.9676, allocations: 2.67 MB / 1.124 GB, free: 10.73 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)