Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.927/1.927, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.00137/0.00137, allocations: 168.9 kB / 366.7 MB, free: 1.637 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.973/1.973, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.000974/0.0009737, allocations: 98.11 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.349e-05/5.363e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7766, allocations: 116.3 MB / 0.9734 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2213/0.9979, allocations: 141.8 MB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.9982, allocations: 79.05 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0191/1.017, allocations: 6.98 MB / 1.119 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/1.017, allocations: 0.9062 kB / 1.119 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.64e-05/1.017, allocations: 8 kB / 1.119 GB, free: 1.328 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008791/1.018, allocations: 0.4888 MB / 1.119 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/1.018, allocations: 16.02 kB / 1.119 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/1.018, allocations: 27.62 kB / 1.119 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/1.019, allocations: 330.3 kB / 1.12 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/1.019, allocations: 4 kB / 1.12 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/1.019, allocations: 4 kB / 1.12 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001254/1.019, allocations: 47.98 kB / 1.12 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/1.019, allocations: 77.66 kB / 1.12 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.02, allocations: 8 kB / 1.12 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.02, allocations: 0 / 1.12 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.02, allocations: 0 / 1.12 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/1.02, allocations: 433 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/1.021, allocations: 74.61 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/1.021, allocations: 26.48 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.021, allocations: 4 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/1.021, allocations: 75.34 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/1.021, allocations: 0 / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003211/1.021, allocations: 105.5 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/1.021, allocations: 59.34 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/1.022, allocations: 314.2 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/1.022, allocations: 29.7 kB / 1.121 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/1.022, allocations: 139.9 kB / 1.121 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/1.022, allocations: 19.75 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/1.022, allocations: 5.5 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.022, allocations: 338.8 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/1.022, allocations: 55.98 kB / 1.121 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/1.022, allocations: 87.48 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/1.023, allocations: 69.92 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.023, allocations: 4 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003531/1.023, allocations: 213.2 kB / 1.122 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.023, allocations: 8 kB / 1.122 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.023, allocations: 3.953 kB / 1.122 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.023, allocations: 0 / 1.122 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/1.023, allocations: 27.98 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/1.023, allocations: 3.938 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/1.023, allocations: 8 kB / 1.122 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/1.023, allocations: 11.98 kB / 1.122 GB, free: 14.05 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 0.0001023/1.023, allocations: 113 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001473/1.024, allocations: 108.6 kB / 1.122 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/1.024, allocations: 25.55 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/1.024, allocations: 117.9 kB / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.024, allocations: 0 / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.024, allocations: 0 / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.024, allocations: 0 / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/1.024, allocations: 222.1 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.024, allocations: 4 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/1.024, allocations: 4 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.013e-05/1.024, allocations: 3.984 kB / 1.122 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.024, allocations: 3.953 kB / 1.122 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.024, allocations: 7.984 kB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.024, allocations: 0 / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/1.024, allocations: 132.8 kB / 1.122 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/1.024, allocations: 100.8 kB / 1.123 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/1.025, allocations: 4 kB / 1.123 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/1.025, allocations: 23.88 kB / 1.123 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/1.025, allocations: 11.97 kB / 1.123 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/1.025, allocations: 4 kB / 1.123 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000196/1.025, allocations: 214 kB / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.025, allocations: 0 / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002655/1.025, allocations: 49.34 kB / 1.123 GB, free: 12.84 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.001211/1.026, allocations: 0.9341 MB / 1.124 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001902/1.027, allocations: 91.98 kB / 1.124 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.027, allocations: 4.062 kB / 1.124 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/1.027, allocations: 43.86 kB / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/1.027, allocations: 41.14 kB / 1.124 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/1.028, allocations: 352.5 kB / 1.124 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/1.028, allocations: 0.7555 MB / 1.125 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.425e-05/1.028, allocations: 24.05 kB / 1.125 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.028, allocations: 71.41 kB / 1.125 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.028, allocations: 0.6562 kB / 1.125 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/1.058, allocations: 4.36 MB / 1.129 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/1.059, allocations: 175.5 kB / 1.129 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/3.037, allocations: 0 / 1.129 GB, free: 6.141 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)