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.667/1.667, allocations: 288.2 MB / 303.2 MB, free: 8.098 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.001072/0.001072, allocations: 185.8 kB / 371.8 MB, free: 10.28 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.805/1.805, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009708/0.0009707, allocations: 97.08 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004156, allocations: 13.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9098/1.197, allocations: 141.5 MB / 1.118 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.197, allocations: 78.38 kB / 1.118 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01867/1.216, allocations: 6.967 MB / 1.125 GB, free: 31.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.216, allocations: 0 / 1.125 GB, free: 31.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.508e-05/1.216, allocations: 7.328 kB / 1.125 GB, free: 31.75 MB / 0.698 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.0008227/1.217, allocations: 0.5378 MB / 1.125 GB, free: 31.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.217, allocations: 15.64 kB / 1.125 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/1.217, allocations: 40.41 kB / 1.125 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/1.217, allocations: 23.19 kB / 1.125 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/1.217, allocations: 325.9 kB / 1.126 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.217, allocations: 7.75 kB / 1.126 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/1.217, allocations: 15.41 kB / 1.126 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/1.218, allocations: 78.92 kB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.525e-06/1.218, allocations: 0 / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/1.218, allocations: 7.688 kB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.218, allocations: 0 / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/1.218, allocations: 42.62 kB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006948/1.219, allocations: 446.2 kB / 1.126 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/1.219, allocations: 84.42 kB / 1.126 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/1.219, allocations: 0 / 1.126 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/1.219, allocations: 84.38 kB / 1.126 GB, free: 30.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/1.219, allocations: 0 / 1.126 GB, free: 30.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003476/1.219, allocations: 138.4 kB / 1.126 GB, free: 30.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/1.219, allocations: 51.41 kB / 1.126 GB, free: 30.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/1.22, allocations: 342.8 kB / 1.127 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.22, allocations: 25.7 kB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/1.22, allocations: 141.7 kB / 1.127 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/1.22, allocations: 17.03 kB / 1.127 GB, free: 30.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/1.22, allocations: 7.094 kB / 1.127 GB, free: 30.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.22, allocations: 336.8 kB / 1.127 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.22, allocations: 66.3 kB / 1.127 GB, free: 29.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/1.22, allocations: 97.12 kB / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/1.22, allocations: 65.17 kB / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.22, allocations: 0 / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003265/1.221, allocations: 222.8 kB / 1.128 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.221, allocations: 11.81 kB / 1.128 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.221, allocations: 0 / 1.128 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.221, allocations: 3.953 kB / 1.128 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.221, allocations: 22.45 kB / 1.128 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.221, allocations: 0 / 1.128 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/1.221, allocations: 22.27 kB / 1.128 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/1.221, allocations: 3.875 kB / 1.128 GB, free: 29.85 MB / 0.698 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 () * Number of clocked 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.0001484/1.221, allocations: 160.3 kB / 1.128 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/1.221, allocations: 23.31 kB / 1.128 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/1.222, allocations: 127.4 kB / 1.128 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.222, allocations: 0 / 1.128 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.222, allocations: 3.953 kB / 1.128 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.222, allocations: 0 / 1.128 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/1.222, allocations: 245.7 kB / 1.128 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.222, allocations: 0 / 1.128 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/1.222, allocations: 18.02 kB / 1.128 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.222, allocations: 4 kB / 1.128 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/1.222, allocations: 0 / 1.128 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.222, allocations: 7.938 kB / 1.128 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.222, allocations: 0 / 1.128 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/1.222, allocations: 140.3 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/1.222, allocations: 105.6 kB / 1.129 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/1.222, allocations: 6.188 kB / 1.129 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/1.222, allocations: 14.59 kB / 1.129 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/1.222, allocations: 18.36 kB / 1.129 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/1.222, allocations: 7.172 kB / 1.129 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002044/1.223, allocations: 234.1 kB / 1.129 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.223, allocations: 0 / 1.129 GB, free: 29.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002722/1.223, allocations: 55.19 kB / 1.129 GB, free: 29.18 MB / 0.698 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) * Number of clocked states: 0 () * 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.001344/1.224, allocations: 1.004 MB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002704/1.225, allocations: 112.3 kB / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.225, allocations: 0 / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/1.225, allocations: 36.06 kB / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.225, allocations: 52.91 kB / 1.13 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/1.226, allocations: 0.8264 MB / 1.131 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.226, allocations: 0.7538 MB / 1.132 GB, free: 27.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.915e-05/1.226, allocations: 30.28 kB / 1.132 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/1.226, allocations: 68.59 kB / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.226, allocations: 0 / 1.132 GB, free: 27.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/1.242, allocations: 4.911 MB / 1.136 GB, free: 24.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.242, allocations: 240.8 kB / 1.137 GB, free: 24.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/3.253, allocations: 0 / 1.137 GB, free: 24.54 MB / 0.698 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)