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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 285.4 MB / 298 MB, free: 5.93 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.001373/0.001372, allocations: 172.8 kB / 366.4 MB, free: 2.086 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.916/1.916, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.001203/0.001203, allocations: 91.05 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.343e-05/5.354e-05, allocations: 8 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8158, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/1.031, allocations: 141.5 MB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.031, allocations: 79.95 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02037/1.052, allocations: 6.945 MB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/1.052, allocations: 0 / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.052, allocations: 4 kB / 1.116 GB, free: 3.363 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.000705/1.053, allocations: 493.8 kB / 1.116 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.053, allocations: 12.03 kB / 1.116 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/1.053, allocations: 38.55 kB / 1.117 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/1.053, allocations: 23.72 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/1.053, allocations: 330.2 kB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/1.053, allocations: 8 kB / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/1.054, allocations: 8 kB / 1.117 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/1.054, allocations: 83.78 kB / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.054, allocations: 0 / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/1.054, allocations: 4 kB / 1.117 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.054, allocations: 0 / 1.117 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/1.054, allocations: 43.92 kB / 1.117 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/1.055, allocations: 443.4 kB / 1.117 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/1.055, allocations: 82.61 kB / 1.118 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/1.055, allocations: 28.98 kB / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/1.055, allocations: 4 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/1.055, allocations: 81.67 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/1.055, allocations: 0 / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002896/1.055, allocations: 109.3 kB / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.055, allocations: 55.41 kB / 1.118 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/1.056, allocations: 323.4 kB / 1.118 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/1.056, allocations: 29.7 kB / 1.118 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/1.056, allocations: 144 kB / 1.118 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/1.056, allocations: 23.73 kB / 1.118 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/1.056, allocations: 4 kB / 1.118 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.056, allocations: 334.8 kB / 1.119 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.056, allocations: 67.98 kB / 1.119 GB, free: 444 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.057, allocations: 87.64 kB / 1.119 GB, free: 348 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/1.057, allocations: 70.25 kB / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.057, allocations: 0 / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003054/1.057, allocations: 213.2 kB / 1.119 GB, free: 60 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.057, allocations: 4 kB / 1.119 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.057, allocations: 0 / 1.119 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.057, allocations: 10.39 kB / 1.119 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/1.057, allocations: 19.98 kB / 1.119 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.057, allocations: 11.88 kB / 1.119 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/1.057, allocations: 23.97 kB / 1.119 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/1.057, allocations: 8 kB / 1.119 GB, free: 15.98 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 8.791e-05/1.057, allocations: 109 kB / 1.119 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/1.058, allocations: 23.66 kB / 1.119 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/1.058, allocations: 119.5 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.058, allocations: 3.953 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.058, allocations: 4 kB / 1.119 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.058, allocations: 6.797 kB / 1.119 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/1.058, allocations: 249.5 kB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.058, allocations: 4 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/1.058, allocations: 7.984 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.058, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.058, allocations: 4 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/1.058, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.058, allocations: 7.953 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/1.058, allocations: 130.9 kB / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/1.058, allocations: 104.8 kB / 1.12 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/1.058, allocations: 14.56 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/1.059, allocations: 15.92 kB / 1.12 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/1.059, allocations: 7.984 kB / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/1.059, allocations: 7.953 kB / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002255/1.059, allocations: 227.1 kB / 1.12 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.059, allocations: 0 / 1.12 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002734/1.059, allocations: 60.05 kB / 1.12 GB, free: 14.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) * 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.001244/1.06, allocations: 0.9606 MB / 1.121 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002195/1.061, allocations: 104 kB / 1.121 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.061, allocations: 3.938 kB / 1.121 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/1.061, allocations: 28 kB / 1.121 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/1.061, allocations: 55.38 kB / 1.121 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/1.062, allocations: 356.7 kB / 1.122 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/1.062, allocations: 0.7518 MB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001024/1.062, allocations: 39.31 kB / 1.122 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.062, allocations: 71.41 kB / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/1.062, allocations: 2.344 kB / 1.122 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/1.079, allocations: 4.931 MB / 1.127 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.079, allocations: 216.3 kB / 1.127 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.866, allocations: 0 / 1.127 GB, free: 7.574 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)