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.001811/0.001811, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.452/1.452, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.71/1.71, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.00151/0.00151, allocations: 70.08 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001847/0.2476, allocations: 0.7335 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000212/0.2478, allocations: 59.83 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.2479, allocations: 7.938 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.248, allocations: 15.86 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.2481, allocations: 11.92 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.2482, allocations: 23.97 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.2484, allocations: 123.6 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.2486, allocations: 156.5 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.2487, allocations: 63.8 kB / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.2488, allocations: 75.64 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2488, allocations: 16 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.2489, allocations: 12 kB / 0.7848 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.2489, allocations: 55.83 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.249, allocations: 87.42 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.2492, allocations: 219.3 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2492, allocations: 0 / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2492, allocations: 0 / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2492, allocations: 4 kB / 0.7851 GB, free: 11.74 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.0004564/0.2497, allocations: 499.2 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2497, allocations: 19.97 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.2498, allocations: 54.73 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.2498, allocations: 24.66 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2501, allocations: 248 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2501, allocations: 20.73 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.2501, allocations: 16.38 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2505, allocations: 344.6 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2505, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2506, allocations: 12 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.2506, allocations: 12 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.2509, allocations: 263.8 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.2519, allocations: 1.088 MB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.252, allocations: 169.1 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.252, allocations: 80.14 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.252, allocations: 75.28 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.2521, allocations: 110 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.374e-06/0.2521, allocations: 4 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.543e-05/0.2522, allocations: 53.3 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.2522, allocations: 134.7 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.2527, allocations: 0.4925 MB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2527, allocations: 29.7 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2528, allocations: 163.8 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.2528, allocations: 4 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.2529, allocations: 33.64 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.253, allocations: 334.8 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.2531, allocations: 51.97 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.2531, allocations: 93.95 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.2533, allocations: 109.8 kB / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2533, allocations: 3.938 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002622/0.2535, allocations: 185.1 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2536, allocations: 8.156 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2536, allocations: 8 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2536, allocations: 3.984 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.2537, allocations: 19.94 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2537, allocations: 7.984 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.2538, allocations: 31.69 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.2538, allocations: 12 kB / 0.7897 GB, free: 6.68 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.0001322/0.254, allocations: 249 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.254, allocations: 132.6 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.2541, allocations: 142.8 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.2542, allocations: 180.2 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-05/0.2542, allocations: 176.3 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/0.2543, allocations: 176.3 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.2545, allocations: 497.1 kB / 0.7912 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/0.2546, allocations: 114 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.2546, allocations: 108.9 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.924e-05/0.2546, allocations: 180.2 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.2547, allocations: 176.3 kB / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.62e-05/0.2548, allocations: 184.2 kB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.363e-05/0.2548, allocations: 176.3 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.2549, allocations: 331.5 kB / 0.7924 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2551, allocations: 218.1 kB / 0.7926 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.2552, allocations: 184.1 kB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2553, allocations: 109 kB / 0.7929 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.2553, allocations: 188.2 kB / 0.7931 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.2554, allocations: 101 kB / 0.7932 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003194/0.2557, allocations: 363 kB / 0.7935 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2557, allocations: 4 kB / 0.7935 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002545/0.256, allocations: 28 kB / 0.7936 GB, free: 2.531 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.0003788/0.2564, allocations: 0.8318 MB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.2565, allocations: 71.89 kB / 0.7945 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2565, allocations: 0 / 0.7945 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.2565, allocations: 0 / 0.7945 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.2571, allocations: 486.1 kB / 0.7949 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.26, allocations: 3.283 MB / 0.7981 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2603, allocations: 0.7671 MB / 0.7989 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.249e-05/0.2604, allocations: 49.52 kB / 0.7989 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.2605, allocations: 63.42 kB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.2605, allocations: 0 / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2802, allocations: 4.51 MB / 0.8034 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.884, allocations: 14.09 kB / 0.8034 GB, free: 8.387 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)