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.706/2.706, allocations: 287.5 MB / 302.4 MB, free: 8.199 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.001378/0.001378, allocations: 182 kB / 371 MB, free: 10.88 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.096/2.096, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0008809/0.0008805, allocations: 90.97 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006287/0.000629, allocations: 18.27 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2371, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002468/0.2396, allocations: 1.583 MB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2416, allocations: 0.9573 MB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2418, allocations: 4 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.2422, allocations: 95.69 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.2425, allocations: 83.66 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.243, allocations: 98.31 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.2433, allocations: 171.5 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.2434, allocations: 33.66 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2436, allocations: 79.56 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2437, allocations: 75.67 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.2438, allocations: 4 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.2439, allocations: 43.98 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.244, allocations: 47.81 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.2441, allocations: 53.58 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.2444, allocations: 219.7 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2444, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2444, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2444, allocations: 0 / 0.9819 GB, free: 24.68 MB / 0.6198 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.0008689/0.2453, allocations: 0.5021 MB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2454, allocations: 19.95 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.2454, allocations: 38.56 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.2455, allocations: 31.66 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.2459, allocations: 286.4 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.246, allocations: 4 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.246, allocations: 4 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.2462, allocations: 85.58 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2463, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2463, allocations: 8 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2463, allocations: 3.953 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.2465, allocations: 39.98 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008258/0.2473, allocations: 424.5 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.2476, allocations: 86.67 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.2478, allocations: 28.84 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.2478, allocations: 0 / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.248, allocations: 83.3 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.175e-06/0.248, allocations: 4 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000436/0.2485, allocations: 125.4 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2485, allocations: 55.41 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.249, allocations: 362.9 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.249, allocations: 29.64 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2491, allocations: 144 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.2492, allocations: 23.78 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.2492, allocations: 0 / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.2493, allocations: 338.8 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2495, allocations: 55.97 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2496, allocations: 69.69 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2498, allocations: 61.47 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2498, allocations: 3.953 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004684/0.2503, allocations: 193.3 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2504, allocations: 4 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2504, allocations: 4.031 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2504, allocations: 3.938 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.2506, allocations: 31.92 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2506, allocations: 0 / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.2508, allocations: 19.89 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.2509, allocations: 4 kB / 0.985 GB, free: 21.32 MB / 0.6198 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.0001911/0.2511, allocations: 157.8 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.2511, allocations: 27.7 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.811e-05/0.2512, allocations: 21.75 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2512, allocations: 4 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2513, allocations: 3.984 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2513, allocations: 0 / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2515, allocations: 237.5 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2515, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.2516, allocations: 11.94 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2516, allocations: 0 / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2516, allocations: 8 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2516, allocations: 4 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2516, allocations: 0 / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.252, allocations: 120.9 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.2521, allocations: 108.8 kB / 0.9856 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.2521, allocations: 3.953 kB / 0.9856 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2523, allocations: 15.98 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.2523, allocations: 15.92 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2524, allocations: 4 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002846/0.2527, allocations: 229.9 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2527, allocations: 0 / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003584/0.253, allocations: 40.03 kB / 0.9859 GB, free: 20.23 MB / 0.6198 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 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001608/0.2547, allocations: 0.9864 MB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.2551, allocations: 107.9 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2551, allocations: 0 / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2553, allocations: 35.92 kB / 0.987 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.2558, allocations: 52.5 kB / 0.9871 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.2585, allocations: 1.392 MB / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2588, allocations: 0.7514 MB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.2589, allocations: 33.52 kB / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.2591, allocations: 63.41 kB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of SimCode: time 7.905e-06/0.2591, allocations: 3.938 kB / 0.9893 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.2896, allocations: 4.907 MB / 0.9941 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/0.2899, allocations: 243.6 kB / 0.9943 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/2.981, allocations: 0 / 0.9943 GB, free: 11.89 MB / 0.6198 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)