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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.799/1.799, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.0011/0.0011, allocations: 172.9 kB / 361.4 MB, free: 6.816 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.802/1.802, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.001061/0.001061, allocations: 92.75 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.519e-05, allocations: 8 kB / 0.8519 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.087, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3181/1.405, allocations: 140.8 MB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/1.406, allocations: 76.55 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02506/1.431, allocations: 6.899 MB / 1.109 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.597e-06/1.431, allocations: 0 / 1.109 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.042e-05/1.431, allocations: 4 kB / 1.109 GB, free: 8.145 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.001303/1.433, allocations: 493.7 kB / 1.109 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.944e-05/1.433, allocations: 8.031 kB / 1.109 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/1.433, allocations: 28.31 kB / 1.109 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009952/1.434, allocations: 338.2 kB / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/1.434, allocations: 8 kB / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/1.434, allocations: 4 kB / 1.11 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001834/1.434, allocations: 35.98 kB / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.434, allocations: 69.67 kB / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.434, allocations: 0 / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.434, allocations: 0 / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.434, allocations: 4 kB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.436, allocations: 417 kB / 1.11 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/1.436, allocations: 70.67 kB / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/1.436, allocations: 24.98 kB / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/1.436, allocations: 4 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/1.436, allocations: 79.33 kB / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/1.436, allocations: 0 / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004331/1.437, allocations: 109.3 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.437, allocations: 51.41 kB / 1.11 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/1.437, allocations: 318.3 kB / 1.111 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/1.437, allocations: 29.7 kB / 1.111 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/1.437, allocations: 136 kB / 1.111 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/1.438, allocations: 19.75 kB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/1.438, allocations: 4 kB / 1.111 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.438, allocations: 336 kB / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/1.438, allocations: 63.97 kB / 1.111 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/1.438, allocations: 83.34 kB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/1.438, allocations: 76.73 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.438, allocations: 0 / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005458/1.439, allocations: 214.7 kB / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.439, allocations: 4 kB / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.439, allocations: 0 / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.439, allocations: 4 kB / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.439, allocations: 27.92 kB / 1.112 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.439, allocations: 7.953 kB / 1.112 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/1.439, allocations: 11.91 kB / 1.112 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/1.439, allocations: 11.92 kB / 1.112 GB, free: 4.918 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,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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.0001241/1.44, allocations: 116.1 kB / 1.112 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002303/1.44, allocations: 109.3 kB / 1.112 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/1.44, allocations: 19.81 kB / 1.112 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/1.44, allocations: 121.8 kB / 1.112 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.44, allocations: 3.953 kB / 1.112 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.44, allocations: 0 / 1.112 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.44, allocations: 0 / 1.112 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/1.44, allocations: 218.1 kB / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.44, allocations: 4 kB / 1.112 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/1.441, allocations: 8 kB / 1.112 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.441, allocations: 0 / 1.112 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/1.441, allocations: 5.922 kB / 1.112 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.441, allocations: 0 / 1.112 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.441, allocations: 3.938 kB / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/1.441, allocations: 136.8 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/1.441, allocations: 96.92 kB / 1.113 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/1.441, allocations: 7.984 kB / 1.113 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/1.441, allocations: 12 kB / 1.113 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/1.441, allocations: 15.97 kB / 1.113 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/1.441, allocations: 4 kB / 1.113 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003017/1.442, allocations: 217.9 kB / 1.113 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/1.442, allocations: 0 / 1.113 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004481/1.442, allocations: 55.95 kB / 1.113 GB, free: 3.695 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,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.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.001747/1.444, allocations: 0.9289 MB / 1.114 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002887/1.444, allocations: 107.9 kB / 1.114 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.444, allocations: 4.062 kB / 1.114 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/1.444, allocations: 28 kB / 1.114 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/1.445, allocations: 39.42 kB / 1.114 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/1.446, allocations: 370.7 kB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/1.446, allocations: 0.7555 MB / 1.115 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001673/1.446, allocations: 27.09 kB / 1.115 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.447, allocations: 74.31 kB / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/1.447, allocations: 0 / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/1.476, allocations: 4.426 MB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/1.476, allocations: 187.5 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/3.587, allocations: 7.375 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)