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.767/2.767, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001678/0.001678, allocations: 174.5 kB / 370.8 MB, free: 10.86 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.322/2.322, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001085/0.001085, allocations: 94.36 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 18.28 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0009381/0.2117, allocations: 454.8 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.212, allocations: 55.83 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.212, allocations: 3.938 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.2122, allocations: 15.88 kB / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.2122, allocations: 7.984 kB / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.2124, allocations: 37.02 kB / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.2126, allocations: 75.81 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.2128, allocations: 131.2 kB / 0.979 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.2129, allocations: 31.84 kB / 0.9791 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.2129, allocations: 35.73 kB / 0.9791 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.213, allocations: 4 kB / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.213, allocations: 4 kB / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.2131, allocations: 31.86 kB / 0.9791 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.2131, allocations: 53.58 kB / 0.9792 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.2133, allocations: 179.7 kB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2133, allocations: 0 / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2133, allocations: 0 / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2133, allocations: 0 / 0.9794 GB, free: 27.16 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.0004832/0.2138, allocations: 463.2 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2139, allocations: 12.02 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.2139, allocations: 54.48 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.214, allocations: 23.72 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.2143, allocations: 250.6 kB / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2143, allocations: 20.38 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.2144, allocations: 16 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.215, allocations: 328.6 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.215, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.215, allocations: 7.938 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.2151, allocations: 16.17 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.2156, allocations: 256.4 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.2171, allocations: 1.093 MB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.863e-05/0.2172, allocations: 169.1 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.2172, allocations: 75.28 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2172, allocations: 113.8 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 3.567e-06/0.2172, allocations: 3.984 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.000106/0.2173, allocations: 45.42 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2174, allocations: 130.6 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.2181, allocations: 0.4964 MB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.2181, allocations: 25.7 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2182, allocations: 171.8 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.2182, allocations: 0 / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.2183, allocations: 8 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.2183, allocations: 342.8 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.2185, allocations: 47.95 kB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.2186, allocations: 89.97 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.2187, allocations: 71.83 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2187, allocations: 0 / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003909/0.2191, allocations: 181.4 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2192, allocations: 12 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2192, allocations: 0 / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2192, allocations: 4 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.2194, allocations: 19.98 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.2194, allocations: 3.953 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2196, allocations: 43.67 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2196, allocations: 8 kB / 0.9838 GB, free: 22.36 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.0001605/0.2198, allocations: 245 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.2199, allocations: 132.7 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.2199, allocations: 130.8 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/0.22, allocations: 184.2 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.932e-05/0.22, allocations: 180.3 kB / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.2201, allocations: 184.2 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.2203, allocations: 498.1 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.2204, allocations: 101 kB / 0.9854 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.2204, allocations: 104.9 kB / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.124e-05/0.2204, allocations: 180.3 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.2205, allocations: 184.2 kB / 0.9858 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-05/0.2205, allocations: 176.3 kB / 0.986 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-05/0.2206, allocations: 184.3 kB / 0.9862 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.2207, allocations: 335.6 kB / 0.9865 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.2209, allocations: 229.7 kB / 0.9867 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.2209, allocations: 188.3 kB / 0.9869 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2211, allocations: 105 kB / 0.987 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2211, allocations: 184.2 kB / 0.9872 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.2212, allocations: 105 kB / 0.9873 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004867/0.2217, allocations: 359 kB / 0.9876 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2217, allocations: 0 / 0.9876 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003508/0.222, allocations: 24 kB / 0.9876 GB, free: 18.21 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.0003152/0.2224, allocations: 0.8357 MB / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.2225, allocations: 63.89 kB / 0.9885 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2226, allocations: 0 / 0.9885 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-06/0.2226, allocations: 4 kB / 0.9885 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.223, allocations: 0.555 MB / 0.9891 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.2257, allocations: 2.557 MB / 0.9916 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.226, allocations: 0.783 MB / 0.9923 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.2261, allocations: 49.52 kB / 0.9924 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2263, allocations: 63.42 kB / 0.9924 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.2263, allocations: 0 / 0.9924 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.256, allocations: 4.133 MB / 0.9965 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/0.2563, allocations: 205.2 kB / 0.9967 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/2.918, allocations: 2.391 kB / 0.9967 GB, free: 8.926 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)