Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.587/2.587, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001601/0.001601, allocations: 188.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001092/0.001092, allocations: 90.39 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.32e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8325, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/1.075, allocations: 140.6 MB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/1.075, allocations: 82.2 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03155/1.107, allocations: 6.891 MB / 1.108 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/1.107, allocations: 0 / 1.108 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.173e-05/1.107, allocations: 4 kB / 1.108 GB, free: 8.922 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.0008593/1.108, allocations: 0.4899 MB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.108, allocations: 12.02 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/1.108, allocations: 26.72 kB / 1.108 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/1.109, allocations: 326.3 kB / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/1.109, allocations: 8 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/1.109, allocations: 4 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000157/1.109, allocations: 39.92 kB / 1.108 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/1.109, allocations: 70.92 kB / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.109, allocations: 0 / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/1.109, allocations: 0 / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.109, allocations: 3.984 kB / 1.109 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/1.11, allocations: 413 kB / 1.109 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/1.111, allocations: 74.67 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/1.111, allocations: 28.98 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/1.111, allocations: 3.984 kB / 1.109 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/1.111, allocations: 75.38 kB / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.196e-06/1.111, allocations: 0 / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003845/1.111, allocations: 113.3 kB / 1.109 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.111, allocations: 51.41 kB / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/1.112, allocations: 314.3 kB / 1.11 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/1.112, allocations: 29.7 kB / 1.11 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.112, allocations: 136 kB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/1.112, allocations: 23.73 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/1.112, allocations: 0 / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.112, allocations: 338.8 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/1.113, allocations: 59.98 kB / 1.11 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.113, allocations: 84.58 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/1.113, allocations: 76.97 kB / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.113, allocations: 0 / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006785/1.114, allocations: 213.2 kB / 1.11 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.114, allocations: 4 kB / 1.11 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.114, allocations: 4 kB / 1.11 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.114, allocations: 3.984 kB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/1.114, allocations: 23.94 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.114, allocations: 10.28 kB / 1.11 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/1.114, allocations: 19.92 kB / 1.111 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/1.115, allocations: 12 kB / 1.111 GB, free: 5.688 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.0001232/1.115, allocations: 112.7 kB / 1.111 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002624/1.115, allocations: 101.4 kB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/1.115, allocations: 19.81 kB / 1.111 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/1.115, allocations: 125.5 kB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.115, allocations: 5.391 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.115, allocations: 4 kB / 1.111 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.115, allocations: 0 / 1.111 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/1.116, allocations: 218.1 kB / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.116, allocations: 3.984 kB / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/1.116, allocations: 4 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.116, allocations: 0 / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/1.116, allocations: 1 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.116, allocations: 0 / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/1.116, allocations: 7.953 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/1.116, allocations: 140.8 kB / 1.111 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/1.116, allocations: 96.91 kB / 1.111 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/1.116, allocations: 8 kB / 1.111 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.117, allocations: 11.98 kB / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/1.117, allocations: 14.75 kB / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/1.117, allocations: 8.734 kB / 1.111 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003357/1.117, allocations: 218 kB / 1.112 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.117, allocations: 4 kB / 1.112 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004582/1.117, allocations: 51.97 kB / 1.112 GB, free: 4.465 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.001703/1.119, allocations: 0.9352 MB / 1.113 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003619/1.12, allocations: 99.92 kB / 1.113 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.12, allocations: 0 / 1.113 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/1.12, allocations: 28 kB / 1.113 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/1.12, allocations: 46.91 kB / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/1.121, allocations: 369.8 kB / 1.113 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/1.122, allocations: 0.7522 MB / 1.114 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001816/1.122, allocations: 29.25 kB / 1.114 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.122, allocations: 71.41 kB / 1.114 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.122, allocations: 0 / 1.114 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04889/1.171, allocations: 4.423 MB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/1.172, allocations: 188.7 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.78, allocations: 0 / 1.118 GB, free: 13.71 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)