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.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 172.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0007861/0.0007862, allocations: 90.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.573e-05, allocations: 8 kB / 0.7881 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7664/0.9802, allocations: 131.4 MB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.9805, allocations: 71.39 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004271/0.9848, allocations: 1.45 MB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9849, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.9849, allocations: 6.516 kB / 1.022 GB, free: 1.988 MB / 0.6355 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.000574/0.9855, allocations: 453.2 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9855, allocations: 12.03 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.9856, allocations: 34.06 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.9856, allocations: 15.81 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.9858, allocations: 215 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.9858, allocations: 7.938 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.9859, allocations: 7.438 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.9861, allocations: 111.3 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.9861, allocations: 4 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.9861, allocations: 3.062 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.9861, allocations: 4 kB / 1.023 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.9863, allocations: 100.2 kB / 1.023 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.9871, allocations: 0.5147 MB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.9873, allocations: 133.7 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.9874, allocations: 64.59 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.9874, allocations: 3.984 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.9875, allocations: 34.38 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.9875, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002765/0.9878, allocations: 137.8 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.9878, allocations: 81.06 kB / 1.024 GB, free: 40 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.988, allocations: 144.3 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.988, allocations: 33.27 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.9881, allocations: 106.7 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.9881, allocations: 32.38 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.9882, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9883, allocations: 324.8 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.9884, allocations: 40.17 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.9885, allocations: 57.75 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.9886, allocations: 46.09 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9886, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002191/0.9888, allocations: 137 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.9888, allocations: 6.031 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9888, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.9889, allocations: 3.938 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.9891, allocations: 43.95 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.9891, allocations: 3.953 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.9893, allocations: 42.94 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.9893, allocations: 3.938 kB / 1.025 GB, free: 15.09 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.9894, allocations: 111.3 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.9894, allocations: 7.906 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.9895, allocations: 21.2 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9895, allocations: 4 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9895, allocations: 0 / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.9896, allocations: 11.95 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.9898, allocations: 218.7 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9898, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.99, allocations: 47.89 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.99, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.9901, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9901, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9901, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.9904, allocations: 327.3 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.9905, allocations: 88.95 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.9905, allocations: 3.438 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.9907, allocations: 36.14 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.9908, allocations: 15.31 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.9908, allocations: 7.984 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.038e-05/0.9909, allocations: 119.2 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9909, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002533/0.9912, allocations: 18.94 kB / 1.026 GB, free: 14.04 MB / 0.6511 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 () * 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 (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.0005862/0.9918, allocations: 0.9187 MB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.992, allocations: 105.4 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.992, allocations: 0 / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.9921, allocations: 61.41 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.9924, allocations: 11.7 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.993, allocations: 228.9 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.9933, allocations: 0.7155 MB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.558e-05/0.9934, allocations: 35.91 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.9935, allocations: 25.31 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/0.9935, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/1.008, allocations: 2.297 MB / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/1.008, allocations: 178 kB / 1.03 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.679, allocations: 0 / 1.03 GB, free: 9.57 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)