Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.001089/0.001089, allocations: 101.4 kB / 15.69 MB, free: 140 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.001163/0.001163, allocations: 200.9 kB / 16.63 MB, free: 6.324 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.729/1.729, 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.001401/0.001401, allocations: 76.86 kB / 0.6718 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2522, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002221/0.2544, allocations: 0.7643 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2555, allocations: 0.8282 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.2555, allocations: 7.938 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.2558, allocations: 51.8 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.2558, allocations: 39.83 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.433e-05/0.2559, allocations: 19.97 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.2561, allocations: 87.75 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2562, allocations: 23.98 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.2563, allocations: 47.83 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.2565, allocations: 75.8 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.2565, allocations: 8 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.2565, allocations: 8 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.2566, allocations: 35.89 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.2567, allocations: 47.67 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.2568, allocations: 119.9 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.2569, allocations: 3.984 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2569, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2569, allocations: 0 / 0.7858 GB, free: 11.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007979/0.2577, allocations: 466.8 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2577, allocations: 12.02 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.2578, allocations: 38.75 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.2578, allocations: 8.844 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.258, allocations: 207.2 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.258, allocations: 8.375 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.258, allocations: 4.375 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.2585, allocations: 155.8 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2585, allocations: 3.938 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2585, allocations: 7.984 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2585, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.2591, allocations: 171.8 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.2599, allocations: 0.4969 MB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.2603, allocations: 161.1 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.2606, allocations: 97.73 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2606, allocations: 0 / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2606, allocations: 38.55 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2606, allocations: 3.938 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000933/0.2616, allocations: 281.3 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2616, allocations: 77.11 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2618, allocations: 162.2 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2618, allocations: 33.7 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.2619, allocations: 104 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.2619, allocations: 31.69 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.262, allocations: 17.72 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2621, allocations: 326.8 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.2624, allocations: 75.92 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.2626, allocations: 93.64 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.2631, allocations: 173.5 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2631, allocations: 0 / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005621/0.2637, allocations: 213.3 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2637, allocations: 4 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.2637, allocations: 3.938 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2638, allocations: 4.469 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.264, allocations: 31.95 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.264, allocations: 4 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.2641, allocations: 35.89 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.2641, allocations: 0 / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.000103/0.2642, allocations: 129.8 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.2643, allocations: 15.8 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.2643, allocations: 20.25 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2644, allocations: 3.984 kB / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2644, allocations: 4 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2644, allocations: 0 / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.2647, allocations: 229.5 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2647, allocations: 0 / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.2649, allocations: 31.95 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2649, allocations: 4 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2649, allocations: 4 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2649, allocations: 0 / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2649, allocations: 0 / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.2656, allocations: 382.5 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.2657, allocations: 88.92 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2657, allocations: 7.875 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2659, allocations: 35.95 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.2659, allocations: 7.984 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.266, allocations: 8 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.775e-05/0.2661, allocations: 121 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2661, allocations: 0 / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002704/0.2663, allocations: 23.94 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0009915/0.2673, allocations: 0.9068 MB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.2679, allocations: 171.8 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2679, allocations: 0 / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.2682, allocations: 87.86 kB / 0.7914 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.2686, allocations: 24.86 kB / 0.7914 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.2716, allocations: 1.977 MB / 0.7933 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2719, allocations: 0.7187 MB / 0.794 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.16e-05/0.272, allocations: 27.97 kB / 0.794 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.2721, allocations: 35.42 kB / 0.7941 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/0.2721, allocations: 0 / 0.7941 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.2911, allocations: 2.66 MB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.962, allocations: 13.94 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)