Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.865/1.865, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.0009769/0.0009769, allocations: 176.7 kB / 366.7 MB, free: 1.633 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.836/1.836, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.001142/0.001142, allocations: 88.03 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.774e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8419, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/1.061, allocations: 141.8 MB / 1.112 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.062, allocations: 80.92 kB / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01938/1.081, allocations: 6.889 MB / 1.119 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.081, allocations: 0 / 1.119 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.007e-05/1.081, allocations: 4 kB / 1.119 GB, free: 1.508 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.0007073/1.082, allocations: 497.8 kB / 1.119 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.082, allocations: 8.031 kB / 1.119 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/1.082, allocations: 25.47 kB / 1.119 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/1.083, allocations: 338.3 kB / 1.119 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/1.083, allocations: 0 / 1.119 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/1.083, allocations: 4 kB / 1.119 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/1.083, allocations: 35.98 kB / 1.119 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/1.083, allocations: 73.61 kB / 1.12 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.083, allocations: 0 / 1.12 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/1.083, allocations: 0 / 1.12 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.083, allocations: 4 kB / 1.12 GB, free: 464 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/1.084, allocations: 413.1 kB / 1.12 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/1.084, allocations: 86.69 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/1.084, allocations: 20.98 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/1.084, allocations: 4 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/1.084, allocations: 67.39 kB / 1.12 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/1.084, allocations: 0 / 1.12 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002546/1.085, allocations: 117.3 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.085, allocations: 51.41 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/1.085, allocations: 318.3 kB / 1.121 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/1.085, allocations: 25.7 kB / 1.121 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.085, allocations: 140 kB / 1.121 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/1.085, allocations: 19.66 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.085, allocations: 0 / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.085, allocations: 338.8 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/1.086, allocations: 67.97 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/1.086, allocations: 83.19 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/1.086, allocations: 70.06 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.086, allocations: 0 / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003662/1.086, allocations: 217.2 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.086, allocations: 4 kB / 1.122 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.086, allocations: 4 kB / 1.122 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.086, allocations: 4.062 kB / 1.122 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/1.086, allocations: 25.48 kB / 1.122 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.087, allocations: 5.078 kB / 1.122 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/1.087, allocations: 19.83 kB / 1.122 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/1.087, allocations: 12 kB / 1.122 GB, free: 14.26 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,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.0001133/1.087, allocations: 108.9 kB / 1.122 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000151/1.087, allocations: 97.39 kB / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/1.087, allocations: 23.81 kB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/1.087, allocations: 123.4 kB / 1.122 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.087, allocations: 3.953 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.087, allocations: 0 / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.087, allocations: 4 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/1.087, allocations: 222.1 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.087, allocations: 2.438 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/1.087, allocations: 7.094 kB / 1.122 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.088, allocations: 0 / 1.122 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.088, allocations: 3.984 kB / 1.122 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.088, allocations: 7.438 kB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.088, allocations: 4 kB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/1.088, allocations: 136.7 kB / 1.122 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/1.088, allocations: 96.92 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/1.088, allocations: 7.984 kB / 1.122 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/1.088, allocations: 8 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/1.088, allocations: 15.97 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/1.088, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002058/1.088, allocations: 221.9 kB / 1.123 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.088, allocations: 0 / 1.123 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002633/1.089, allocations: 55.95 kB / 1.123 GB, free: 13.05 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,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.00135/1.09, allocations: 0.9284 MB / 1.124 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002217/1.09, allocations: 95.97 kB / 1.124 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.09, allocations: 0 / 1.124 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/1.09, allocations: 34.84 kB / 1.124 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/1.091, allocations: 54.69 kB / 1.124 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/1.091, allocations: 356.4 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/1.092, allocations: 0.7552 MB / 1.125 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.434e-05/1.092, allocations: 36.66 kB / 1.125 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.092, allocations: 71.41 kB / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of SimCode: time 2.054e-06/1.092, allocations: 0 / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/1.118, allocations: 4.42 MB / 1.129 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/1.118, allocations: 179.3 kB / 1.129 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/3.105, allocations: 4.031 kB / 1.129 GB, free: 6.266 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)