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.727/1.727, allocations: 288.4 MB / 303.3 MB, free: 8.039 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.001079/0.001079, allocations: 170.9 kB / 372 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.72/1.72, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007013/0.0007013, allocations: 94.84 kB / 0.744 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 14.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002173/0.2114, allocations: 1.587 MB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2129, allocations: 0.9493 MB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.2131, allocations: 4 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.2134, allocations: 99.62 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2137, allocations: 87.64 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.2141, allocations: 101.6 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.2143, allocations: 163.5 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2144, allocations: 37.64 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2146, allocations: 71.58 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2147, allocations: 79.67 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2147, allocations: 4 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.2149, allocations: 47.97 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.2149, allocations: 51.77 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.215, allocations: 53.58 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.2152, allocations: 215.7 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2152, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2152, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.2153, allocations: 0 / 0.9831 GB, free: 23.98 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.0007132/0.216, allocations: 0.506 MB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.216, allocations: 16.02 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.2161, allocations: 30.56 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.2161, allocations: 35.66 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2165, allocations: 282.4 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2165, allocations: 8 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2166, allocations: 11.98 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.2168, allocations: 81.64 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2168, allocations: 3.938 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2168, allocations: 4 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2168, allocations: 4 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.2169, allocations: 39.94 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.2175, allocations: 420.6 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2178, allocations: 86.56 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.2178, allocations: 32.84 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2179, allocations: 4 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.218, allocations: 75.38 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.218, allocations: 0 / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003048/0.2183, allocations: 129.3 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2184, allocations: 51.41 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.2187, allocations: 366.9 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2187, allocations: 29.7 kB / 0.9852 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.2188, allocations: 147.9 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.2188, allocations: 15.8 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.2188, allocations: 4 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.2189, allocations: 326.8 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.355e-05/0.219, allocations: 59.97 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.803e-05/0.2191, allocations: 82.88 kB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.347e-05/0.2192, allocations: 55.98 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2192, allocations: 0 / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002549/0.2195, allocations: 199.4 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2195, allocations: 8 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2195, allocations: 0 / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2195, allocations: 0 / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2196, allocations: 31.92 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2196, allocations: 0 / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2198, allocations: 23.92 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.2198, allocations: 8 kB / 0.9862 GB, free: 20.62 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.0001056/0.2199, allocations: 149.8 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.2199, allocations: 27.75 kB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.22, allocations: 21.75 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.22, allocations: 0 / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.22, allocations: 0 / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.22, allocations: 11.98 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2202, allocations: 237.5 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2202, allocations: 3.938 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.2202, allocations: 7.984 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2202, allocations: 3.953 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2202, allocations: 4 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2202, allocations: 4 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2202, allocations: 0 / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2204, allocations: 128.9 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.2205, allocations: 104.8 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.2205, allocations: 7.953 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.2206, allocations: 15.98 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.2206, allocations: 7.984 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.2207, allocations: 4 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001629/0.2208, allocations: 229.9 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2208, allocations: 0 / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002378/0.2211, allocations: 47.97 kB / 0.9871 GB, free: 19.52 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.001064/0.2222, allocations: 0.9857 MB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.2224, allocations: 103.9 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2224, allocations: 4.062 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.2225, allocations: 31.98 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2228, allocations: 48.95 kB / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.2245, allocations: 1.396 MB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.2247, allocations: 0.7475 MB / 0.9904 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.728e-05/0.2248, allocations: 33.53 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.2249, allocations: 63.41 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2249, allocations: 0 / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.2409, allocations: 4.912 MB / 0.9953 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.2411, allocations: 254.5 kB / 0.9955 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.353, allocations: 0 / 0.9955 GB, free: 11.06 MB / 0.6198 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)