Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 199.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.515/1.515, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 75.72 kB / 0.671 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1673, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001853/0.1692, allocations: 0.8099 MB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001869/0.1694, allocations: 47.89 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.1694, allocations: 7.938 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1696, allocations: 15.92 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.1696, allocations: 11.92 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.1698, allocations: 27.95 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1699, allocations: 111.7 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.1702, allocations: 148.5 kB / 0.784 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.1702, allocations: 55.73 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.1703, allocations: 71.69 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1703, allocations: 8 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.1704, allocations: 12 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.1704, allocations: 51.8 kB / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.1705, allocations: 75.47 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1707, allocations: 215.3 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1707, allocations: 0 / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1707, allocations: 4 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.1707, allocations: 0 / 0.7844 GB, free: 12.23 MB / 0.6075 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.0004674/0.1712, allocations: 0.4914 MB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1712, allocations: 12.03 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.1713, allocations: 58.72 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1713, allocations: 24.66 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1716, allocations: 247.9 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1716, allocations: 20.69 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1716, allocations: 16.38 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.172, allocations: 340.7 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.172, allocations: 0 / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1721, allocations: 11.98 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.1721, allocations: 12 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.1724, allocations: 263.8 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009767/0.1734, allocations: 1.088 MB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.1734, allocations: 169.1 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.1735, allocations: 80.14 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1735, allocations: 75.28 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1735, allocations: 114 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1735, allocations: 3.938 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.785e-05/0.1736, allocations: 57.28 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1737, allocations: 130.7 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.1741, allocations: 0.4925 MB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.1742, allocations: 33.7 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.1743, allocations: 159.8 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.1743, allocations: 0 / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.1743, allocations: 33.61 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1744, allocations: 338.8 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.1745, allocations: 51.95 kB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.1746, allocations: 101.9 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1747, allocations: 109.9 kB / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1747, allocations: 0 / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002469/0.175, allocations: 181.2 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.175, allocations: 7.938 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.175, allocations: 8.156 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.175, allocations: 4 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.1751, allocations: 19.98 kB / 0.789 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1751, allocations: 4 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.1752, allocations: 35.67 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1752, allocations: 8 kB / 0.7891 GB, free: 7.18 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.1754, allocations: 253 kB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.1754, allocations: 128.6 kB / 0.7894 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.1755, allocations: 142.8 kB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-05/0.1756, allocations: 181.3 kB / 0.7897 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-05/0.1756, allocations: 176.3 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.766e-05/0.1757, allocations: 176.3 kB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1759, allocations: 497 kB / 0.7905 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.176, allocations: 101 kB / 0.7906 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.176, allocations: 112.9 kB / 0.7907 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.048e-05/0.176, allocations: 188.2 kB / 0.7909 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/0.1761, allocations: 184.2 kB / 0.7911 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.632e-05/0.1762, allocations: 176.3 kB / 0.7913 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.616e-05/0.1762, allocations: 176.5 kB / 0.7914 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1763, allocations: 335.5 kB / 0.7918 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1764, allocations: 217.8 kB / 0.792 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.1765, allocations: 188.1 kB / 0.7921 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.1766, allocations: 105 kB / 0.7922 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1767, allocations: 188.2 kB / 0.7924 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.1767, allocations: 101 kB / 0.7925 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003056/0.177, allocations: 367 kB / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.177, allocations: 0 / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002592/0.1773, allocations: 24 kB / 0.7929 GB, free: 3.031 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003645/0.1777, allocations: 0.8396 MB / 0.7937 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1778, allocations: 67.89 kB / 0.7938 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1778, allocations: 0 / 0.7938 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1778, allocations: 0 / 0.7938 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.1783, allocations: 0.5424 MB / 0.7943 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.1811, allocations: 3.311 MB / 0.7975 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1813, allocations: 0.7752 MB / 0.7983 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.844e-05/0.1814, allocations: 49.52 kB / 0.7983 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.1815, allocations: 67.36 kB / 0.7984 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.1815, allocations: 0 / 0.7984 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4664/0.6479, allocations: 4.342 MB / 0.8027 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.6482, allocations: 212.1 kB / 0.8029 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.648, allocations: 11.31 kB / 0.8029 GB, free: 8.715 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)