Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 252 MB / 267 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 179.3 kB / 326.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009591/0.0009596, allocations: 84.94 kB / 0.6823 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 13.39 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2519, allocations: 106.4 MB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0008936/0.2529, allocations: 476.9 kB / 0.9008 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001949/0.2531, allocations: 51.83 kB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.2531, allocations: 7.938 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.2533, allocations: 11.92 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.2533, allocations: 15.92 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.2535, allocations: 19.98 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.2537, allocations: 139.6 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.2539, allocations: 135 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.2539, allocations: 35.8 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.254, allocations: 39.72 kB / 0.9012 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.254, allocations: 4 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.254, allocations: 7.938 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.2541, allocations: 35.86 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.2541, allocations: 49.58 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.2543, allocations: 179.6 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2543, allocations: 0 / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2543, allocations: 0 / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2543, allocations: 0 / 0.9015 GB, free: 62.87 MB / 0.6042 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.000418/0.2547, allocations: 451.3 kB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2548, allocations: 12.03 kB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.2548, allocations: 54.55 kB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.2549, allocations: 31.7 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.2551, allocations: 246.6 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2551, allocations: 16.38 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.2551, allocations: 16 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.2556, allocations: 340.5 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2556, allocations: 3.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.2556, allocations: 8 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.2556, allocations: 16.19 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.2559, allocations: 260.3 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.2568, allocations: 1.085 MB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.035e-05/0.2568, allocations: 169.1 kB / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.2569, allocations: 88.14 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.2569, allocations: 79.27 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2569, allocations: 105.8 kB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2569, allocations: 0 / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.249e-05/0.257, allocations: 57.31 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2571, allocations: 130.7 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.2575, allocations: 0.4926 MB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.2575, allocations: 25.7 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.2576, allocations: 167.8 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.2576, allocations: 4 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2576, allocations: 0 / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.2577, allocations: 334.8 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.2578, allocations: 51.95 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.2578, allocations: 89.98 kB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.2579, allocations: 59.89 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2579, allocations: 0 / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002392/0.2582, allocations: 189.2 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2582, allocations: 4 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2582, allocations: 0 / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2582, allocations: 4 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.2583, allocations: 19.98 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2583, allocations: 15.97 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.2584, allocations: 43.59 kB / 0.906 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2585, allocations: 8.219 kB / 0.906 GB, free: 57.98 MB / 0.6042 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.0001357/0.2586, allocations: 253.1 kB / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.2587, allocations: 120.7 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.2587, allocations: 134.8 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.2588, allocations: 180.3 kB / 0.9066 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.274e-05/0.2588, allocations: 184.1 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/0.2588, allocations: 192.2 kB / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.2591, allocations: 489.1 kB / 0.9075 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.2591, allocations: 109 kB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.2591, allocations: 105 kB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.961e-05/0.2591, allocations: 180.2 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.2592, allocations: 176.3 kB / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.988e-05/0.2592, allocations: 188.2 kB / 0.9082 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.054e-05/0.2592, allocations: 184.3 kB / 0.9084 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.2594, allocations: 331.7 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.2595, allocations: 225.8 kB / 0.9089 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.2595, allocations: 184.2 kB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.2596, allocations: 117 kB / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2597, allocations: 176.3 kB / 0.9094 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2597, allocations: 108.9 kB / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002683/0.26, allocations: 363 kB / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.26, allocations: 0 / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002602/0.2602, allocations: 24 kB / 0.9098 GB, free: 53.82 MB / 0.6042 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.000326/0.2606, allocations: 0.8319 MB / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2607, allocations: 71.83 kB / 0.9107 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2607, allocations: 448 / 0.9107 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.2607, allocations: 4 kB / 0.9107 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2612, allocations: 0.5384 MB / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.2629, allocations: 1.707 MB / 0.9129 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2631, allocations: 0.7751 MB / 0.9137 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.317e-05/0.2632, allocations: 49.47 kB / 0.9137 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.2633, allocations: 63.41 kB / 0.9138 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2633, allocations: 4 kB / 0.9138 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.2776, allocations: 4.154 MB / 0.9178 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.2778, allocations: 211.5 kB / 0.918 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.282, allocations: 0 / 0.918 GB, free: 45.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)