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.Less.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.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.497/1.497, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.0009639/0.0009637, allocations: 182.7 kB / 372.3 MB, free: 10.11 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.134/1.134, allocations: 205.4 MB / 0.631 GB, free: 9.801 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.000654/0.000654, allocations: 90.42 kB / 0.7444 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 15.31 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001527/0.1511, allocations: 1.614 MB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1522, allocations: 0.9533 MB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.1523, allocations: 7.938 kB / 0.9827 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1526, allocations: 103.7 kB / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1528, allocations: 71.67 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1531, allocations: 108.9 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1533, allocations: 191.4 kB / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1534, allocations: 53.89 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.067e-05/0.1535, allocations: 75.62 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.1536, allocations: 75.61 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1536, allocations: 0 / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1537, allocations: 51.97 kB / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.1538, allocations: 43.84 kB / 0.9835 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.1538, allocations: 101.2 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.154, allocations: 219.7 kB / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.154, allocations: 0 / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.422e-06/0.154, allocations: 0 / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.154, allocations: 0 / 0.9838 GB, free: 23.53 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005515/0.1546, allocations: 0.5023 MB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1546, allocations: 15.97 kB / 0.9843 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.1547, allocations: 38.75 kB / 0.9843 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1547, allocations: 24.66 kB / 0.9843 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.155, allocations: 303.7 kB / 0.9846 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.155, allocations: 8.125 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.155, allocations: 8 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1552, allocations: 93.55 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1552, allocations: 0 / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1552, allocations: 12 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1552, allocations: 0 / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.1553, allocations: 55.91 kB / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.1558, allocations: 456.3 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.156, allocations: 78.67 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.1561, allocations: 32.83 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1561, allocations: 0 / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.1563, allocations: 83.31 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1563, allocations: 7.938 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002518/0.1565, allocations: 121.5 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.1566, allocations: 59.34 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1568, allocations: 374.8 kB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1568, allocations: 29.7 kB / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.1569, allocations: 136 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1569, allocations: 19.8 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.1569, allocations: 4 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.157, allocations: 338.8 kB / 0.9865 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.1571, allocations: 59.97 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1572, allocations: 78.88 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1573, allocations: 89.64 kB / 0.9867 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1573, allocations: 0 / 0.9867 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000231/0.1576, allocations: 190.5 kB / 0.9869 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1576, allocations: 8.031 kB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1576, allocations: 0 / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1576, allocations: 4 kB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.1577, allocations: 19.98 kB / 0.9869 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1577, allocations: 4 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.861e-05/0.1578, allocations: 23.83 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1578, allocations: 4 kB / 0.9869 GB, free: 20.07 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 8.888e-05/0.1579, allocations: 165.7 kB / 0.9871 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.158, allocations: 27.66 kB / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.158, allocations: 25.73 kB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.158, allocations: 0 / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.158, allocations: 0 / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.158, allocations: 3.938 kB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.1582, allocations: 241.6 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1582, allocations: 3.938 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.1582, allocations: 4 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1582, allocations: 0 / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1582, allocations: 8 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1582, allocations: 4 kB / 0.9874 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1582, allocations: 0 / 0.9874 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1584, allocations: 141 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.1584, allocations: 104.8 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1585, allocations: 4 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.1585, allocations: 19.98 kB / 0.9876 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1586, allocations: 15.91 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1586, allocations: 8 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000151/0.1588, allocations: 233.9 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1588, allocations: 0 / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002067/0.159, allocations: 39.94 kB / 0.9879 GB, free: 18.94 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.0009404/0.1599, allocations: 0.9863 MB / 0.9889 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1601, allocations: 91.97 kB / 0.989 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1601, allocations: 0 / 0.989 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.26e-05/0.1602, allocations: 31.92 kB / 0.989 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1605, allocations: 57.05 kB / 0.9891 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1619, allocations: 1.42 MB / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.1621, allocations: 0.7476 MB / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.101e-05/0.1621, allocations: 34.09 kB / 0.9912 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.1622, allocations: 71.34 kB / 0.9913 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.1622, allocations: 4 kB / 0.9913 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7746/0.9368, allocations: 4.945 MB / 0.9961 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.937, allocations: 234.6 kB / 0.9963 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.686, allocations: 0 / 0.9963 GB, free: 10.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)