Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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 1.432/1.432, allocations: 287.4 MB / 302.5 MB, free: 8.137 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.0008478/0.0008478, allocations: 178.3 kB / 371.1 MB, free: 10.82 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.179/1.179, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0006546/0.0006546, allocations: 106.3 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 13.34 kB / 0.8662 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.000711/0.1552, allocations: 450.8 kB / 0.9792 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.1554, allocations: 55.83 kB / 0.9792 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.1554, allocations: 0 / 0.9792 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1555, allocations: 19.86 kB / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.1556, allocations: 7.984 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.1557, allocations: 21.81 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1558, allocations: 143.6 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.156, allocations: 152.5 kB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.156, allocations: 27.86 kB / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.1561, allocations: 39.67 kB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1561, allocations: 4 kB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.1561, allocations: 0 / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.1562, allocations: 47.84 kB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.1562, allocations: 53.58 kB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.1563, allocations: 171.7 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1563, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1563, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1563, allocations: 0 / 0.9799 GB, free: 26.89 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003292/0.1567, allocations: 463.4 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1567, allocations: 8.031 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.1568, allocations: 58.72 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1568, allocations: 36.53 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.157, allocations: 244 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.157, allocations: 16.75 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.157, allocations: 20.36 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1574, allocations: 340.7 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1574, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1574, allocations: 15.98 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.1574, allocations: 15.94 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.1577, allocations: 259.8 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.1584, allocations: 1.076 MB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.44e-05/0.1585, allocations: 173.1 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.1585, allocations: 84.14 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1585, allocations: 75.28 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.1585, allocations: 110 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1585, allocations: 0 / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.651e-05/0.1586, allocations: 61.25 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1586, allocations: 126.7 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.159, allocations: 0.4964 MB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.159, allocations: 25.7 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1591, allocations: 167.8 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.1591, allocations: 0 / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1591, allocations: 3.938 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.1591, allocations: 342.8 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.1592, allocations: 39.97 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.832e-05/0.1593, allocations: 97.95 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.1593, allocations: 105.9 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1594, allocations: 0 / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002015/0.1596, allocations: 185.1 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1596, allocations: 15.86 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1596, allocations: 4 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1596, allocations: 0 / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.1597, allocations: 20.2 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1597, allocations: 8 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.1598, allocations: 31.69 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.1598, allocations: 12 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.44e-05/0.1599, allocations: 258.2 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.16, allocations: 132.5 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.16, allocations: 138.8 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.16, allocations: 180.3 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.1601, allocations: 176.3 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.1601, allocations: 180.2 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1603, allocations: 493.1 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.1603, allocations: 112.9 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.1603, allocations: 105 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/0.1603, allocations: 185.1 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1603, allocations: 180.2 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-05/0.1604, allocations: 180.3 kB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-05/0.1604, allocations: 184.2 kB / 0.9868 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.821e-05/0.1605, allocations: 323.5 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.1606, allocations: 229.7 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.1606, allocations: 188.4 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.1607, allocations: 112.9 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.1607, allocations: 180.3 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1607, allocations: 109 kB / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002435/0.161, allocations: 370.9 kB / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.161, allocations: 0 / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002131/0.1612, allocations: 24 kB / 0.9883 GB, free: 17.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002223/0.1614, allocations: 0.8293 MB / 0.9891 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.1615, allocations: 63.89 kB / 0.9892 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1615, allocations: 0 / 0.9892 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.1615, allocations: 3.984 kB / 0.9892 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1619, allocations: 0.5456 MB / 0.9897 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1634, allocations: 1.71 MB / 0.9914 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.1635, allocations: 0.7791 MB / 0.9922 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.771e-05/0.1636, allocations: 49.52 kB / 0.9922 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.1637, allocations: 59.41 kB / 0.9923 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1637, allocations: 0 / 0.9923 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4767/0.6404, allocations: 4.123 MB / 0.9963 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.6406, allocations: 207.7 kB / 0.9965 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.523, allocations: 0 / 0.9965 GB, free: 9.352 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)