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 2.851/2.851, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001489/0.001489, allocations: 178.4 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.364/2.364, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009613/0.000961, allocations: 86.41 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007116/0.0007119, allocations: 15.02 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2198, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0009196/0.2207, allocations: 450.9 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000215/0.221, allocations: 51.84 kB / 0.979 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.221, allocations: 7.938 kB / 0.979 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.2212, allocations: 7.922 kB / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.2212, allocations: 15.92 kB / 0.979 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2214, allocations: 27.98 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2216, allocations: 139.6 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.2219, allocations: 131.2 kB / 0.9793 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.2219, allocations: 31.81 kB / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.222, allocations: 39.72 kB / 0.9793 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.2221, allocations: 7.938 kB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.2221, allocations: 4 kB / 0.9793 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.2221, allocations: 35.86 kB / 0.9794 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.2222, allocations: 49.58 kB / 0.9794 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2224, allocations: 179.7 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2224, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2224, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2224, allocations: 0 / 0.9796 GB, free: 27.1 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.0004898/0.2229, allocations: 451.2 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.223, allocations: 16.02 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.223, allocations: 54.55 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.2231, allocations: 23.72 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.2234, allocations: 258.6 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.2234, allocations: 12.38 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.2235, allocations: 20 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.224, allocations: 340.5 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2241, allocations: 0 / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.2241, allocations: 8 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.2241, allocations: 12.17 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.2246, allocations: 264.4 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.226, allocations: 1.085 MB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.2261, allocations: 173.1 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.2262, allocations: 84.14 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2262, allocations: 75.28 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.2262, allocations: 105.8 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.2262, allocations: 0 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.2264, allocations: 57.31 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2264, allocations: 130.6 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.2271, allocations: 0.4964 MB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.2271, allocations: 25.7 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2272, allocations: 171.8 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.2272, allocations: 0 / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.2273, allocations: 0 / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.2273, allocations: 338.8 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.2275, allocations: 51.95 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.2276, allocations: 89.97 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.2277, allocations: 63.89 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2277, allocations: 0 / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003826/0.2281, allocations: 185.2 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2282, allocations: 5.25 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2282, allocations: 7.938 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2282, allocations: 0 / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2284, allocations: 23.92 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2284, allocations: 7.953 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.2286, allocations: 35.67 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.2286, allocations: 8 kB / 0.9841 GB, free: 22.21 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 0.000166/0.2288, allocations: 250.6 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.2289, allocations: 124.6 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.2289, allocations: 134.8 kB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/0.229, allocations: 184.2 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/0.229, allocations: 180.2 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.2291, allocations: 184.2 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.2294, allocations: 497 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/0.2294, allocations: 105.9 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.2294, allocations: 101 kB / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.928e-05/0.2295, allocations: 180.2 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.2295, allocations: 180.2 kB / 0.9861 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-05/0.2296, allocations: 192.2 kB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-05/0.2296, allocations: 176.3 kB / 0.9865 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.2298, allocations: 335.6 kB / 0.9868 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.2299, allocations: 233.8 kB / 0.987 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.23, allocations: 184.2 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2302, allocations: 109 kB / 0.9873 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2302, allocations: 176.3 kB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.2303, allocations: 112.9 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005061/0.2308, allocations: 359 kB / 0.9879 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2308, allocations: 0 / 0.9879 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003523/0.2312, allocations: 24 kB / 0.9879 GB, free: 18.05 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.0003754/0.2315, allocations: 0.8367 MB / 0.9888 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.2318, allocations: 67.83 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2318, allocations: 448 / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.2318, allocations: 4 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.2324, allocations: 0.5469 MB / 0.9894 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.2352, allocations: 1.703 MB / 0.991 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2355, allocations: 0.7751 MB / 0.9918 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.2356, allocations: 49.52 kB / 0.9918 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2358, allocations: 59.42 kB / 0.9919 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2358, allocations: 7.938 kB / 0.9919 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2595, allocations: 4.142 MB / 0.9959 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003517/0.2599, allocations: 202.5 kB / 0.9961 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/2.978, allocations: 0 / 0.9961 GB, free: 9.641 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)