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.00108/0.00108, allocations: 109.4 kB / 15.69 MB, free: 128 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.001169/0.001169, allocations: 188 kB / 16.62 MB, free: 6.582 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.709/1.709, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001294/0.001294, allocations: 70.34 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2527, allocations: 114.6 MB / 0.7837 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002325/0.255, allocations: 0.7439 MB / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.2553, allocations: 63.83 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.2553, allocations: 3.938 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2555, allocations: 15.86 kB / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/0.2555, allocations: 15.92 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2557, allocations: 23.97 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.2558, allocations: 123.7 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.2561, allocations: 152.5 kB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.2561, allocations: 63.8 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.2562, allocations: 75.62 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.2563, allocations: 12 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.2563, allocations: 16 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.2564, allocations: 51.84 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.2565, allocations: 87.42 kB / 0.7851 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.2567, allocations: 235.1 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2567, allocations: 4 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2567, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2567, allocations: 0 / 0.7853 GB, free: 11.58 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.0004903/0.2572, allocations: 499.2 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2572, allocations: 12.03 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.2573, allocations: 58.73 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.2574, allocations: 24.66 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2576, allocations: 252 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2576, allocations: 16.75 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.2577, allocations: 16.38 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.2581, allocations: 348.6 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2581, allocations: 0 / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2581, allocations: 11.98 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.2582, allocations: 16 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.2585, allocations: 263.8 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2596, allocations: 1.084 MB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.267e-05/0.2597, allocations: 169.1 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.2597, allocations: 84.08 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2598, allocations: 75.28 kB / 0.7881 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.2598, allocations: 110 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2598, allocations: 3.938 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.442e-05/0.2599, allocations: 57.28 kB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.26, allocations: 134.7 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.2605, allocations: 0.4925 MB / 0.7889 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2605, allocations: 25.7 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.2606, allocations: 163.8 kB / 0.7891 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.2606, allocations: 3.984 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.2607, allocations: 25.72 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2608, allocations: 342.8 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.2609, allocations: 47.95 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.261, allocations: 93.97 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2611, allocations: 109.8 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2611, allocations: 4 kB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002696/0.2614, allocations: 181.1 kB / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2614, allocations: 11.94 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2614, allocations: 4.219 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2615, allocations: 4 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2616, allocations: 19.92 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2616, allocations: 4 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.2617, allocations: 39.67 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2617, allocations: 8 kB / 0.7899 GB, free: 6.527 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.0001532/0.2619, allocations: 249 kB / 0.7902 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.262, allocations: 136.6 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.874e-05/0.2621, allocations: 134.8 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/0.2621, allocations: 180.3 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.708e-05/0.2622, allocations: 180.2 kB / 0.7908 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/0.2623, allocations: 180.3 kB / 0.7909 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.2626, allocations: 497.1 kB / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-05/0.2626, allocations: 106 kB / 0.7915 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.2627, allocations: 101 kB / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.242e-05/0.2628, allocations: 192.1 kB / 0.7918 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.819e-05/0.2628, allocations: 180.3 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.038e-05/0.2629, allocations: 180.2 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.587e-05/0.263, allocations: 180.2 kB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.2632, allocations: 331.5 kB / 0.7926 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.2633, allocations: 214.1 kB / 0.7928 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.2634, allocations: 188.1 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2635, allocations: 113 kB / 0.7931 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.2636, allocations: 184.2 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.2637, allocations: 101 kB / 0.7934 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003882/0.2641, allocations: 367 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2641, allocations: 0 / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002656/0.2643, allocations: 27.94 kB / 0.7938 GB, free: 2.375 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.0005424/0.2649, allocations: 0.8357 MB / 0.7946 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.2651, allocations: 71.89 kB / 0.7946 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2651, allocations: 0 / 0.7946 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.2651, allocations: 0 / 0.7946 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.2658, allocations: 481.2 kB / 0.7951 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.2694, allocations: 3.266 MB / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.2698, allocations: 0.7788 MB / 0.799 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.27, allocations: 49.52 kB / 0.7991 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.2701, allocations: 59.42 kB / 0.7991 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2701, allocations: 0 / 0.7991 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.2897, allocations: 4.529 MB / 0.8036 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.016, allocations: 0 / 0.8036 GB, free: 8.254 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)