Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.0012/0.0012, 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.001449/0.001449, allocations: 189 kB / 16.62 MB, free: 6.613 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.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.675/1.675, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001452/0.001453, allocations: 75.42 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2446, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002372/0.247, allocations: 0.7449 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000222/0.2472, allocations: 59.83 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.2473, allocations: 3.938 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.2474, allocations: 19.86 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.2475, allocations: 11.92 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.2477, allocations: 23.97 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2478, allocations: 127.6 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.2481, allocations: 156.5 kB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.2482, allocations: 63.8 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.2483, allocations: 71.64 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.2483, allocations: 12 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.2483, allocations: 12 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.2484, allocations: 59.83 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.365e-05/0.2485, allocations: 87.42 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2488, allocations: 243.1 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2488, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2488, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2488, allocations: 0 / 0.7853 GB, free: 11.52 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005363/0.2493, allocations: 499.2 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2494, allocations: 8.031 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.2495, allocations: 54.73 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.2495, allocations: 28.59 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2498, allocations: 263.9 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.2498, allocations: 12.75 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.2498, allocations: 20.38 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.2503, allocations: 336.7 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2503, allocations: 7.938 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.2504, allocations: 11.97 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.2504, allocations: 19.98 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2507, allocations: 267.8 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2519, allocations: 1.092 MB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2521, allocations: 169.1 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.2521, allocations: 88.14 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.2522, allocations: 79.22 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.2522, allocations: 110 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.2523, allocations: 0 / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001089/0.2524, allocations: 49.42 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.2525, allocations: 126.7 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.253, allocations: 0.4965 MB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.253, allocations: 25.7 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2532, allocations: 175.7 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.2532, allocations: 0 / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.2533, allocations: 33.7 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2534, allocations: 338.8 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.2535, allocations: 47.95 kB / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2536, allocations: 106.8 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.2538, allocations: 110.8 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2538, allocations: 4 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002929/0.2541, allocations: 189.1 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2541, allocations: 8.188 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.2541, allocations: 11.98 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2541, allocations: 4 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.2542, allocations: 19.94 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2543, allocations: 3.984 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.2544, allocations: 35.59 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.2544, allocations: 8 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001585/0.2545, allocations: 245.1 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.2546, allocations: 132.6 kB / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.2547, allocations: 142.8 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/0.2548, allocations: 180.2 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-05/0.2548, allocations: 180.2 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.083e-05/0.2549, allocations: 180.3 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.2553, allocations: 497 kB / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.2553, allocations: 118 kB / 0.7916 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.2554, allocations: 108.9 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.2554, allocations: 180.2 kB / 0.7918 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.2555, allocations: 176.3 kB / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-05/0.2555, allocations: 184.2 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.264e-05/0.2556, allocations: 176.3 kB / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2557, allocations: 331.5 kB / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.2559, allocations: 222 kB / 0.7929 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.256, allocations: 180.2 kB / 0.793 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2561, allocations: 109 kB / 0.7932 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.2561, allocations: 184.2 kB / 0.7933 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.2562, allocations: 105 kB / 0.7934 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003602/0.2566, allocations: 367 kB / 0.7938 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2566, allocations: 0 / 0.7938 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002889/0.2569, allocations: 28 kB / 0.7938 GB, free: 2.258 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.0004719/0.2573, allocations: 0.8387 MB / 0.7946 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.2575, allocations: 71.89 kB / 0.7947 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.2575, allocations: 0 / 0.7947 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.2575, allocations: 0 / 0.7947 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.2581, allocations: 489.5 kB / 0.7952 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.2614, allocations: 3.294 MB / 0.7984 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.2618, allocations: 0.7788 MB / 0.7991 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.689e-05/0.2619, allocations: 49.52 kB / 0.7992 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.765e-05/0.262, allocations: 59.42 kB / 0.7992 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.262, allocations: 0 / 0.7992 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.283, allocations: 4.557 MB / 0.8037 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.259, allocations: 0 / 0.8037 GB, free: 8.066 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)