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.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 189.8 kB / 16.14 MB, free: 6.707 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.186/1.186, allocations: 205.1 MB / 222 MB, free: 4.754 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.541/1.541, allocations: 292.3 MB / 0.5484 GB, free: 13.61 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.00126/0.00126, allocations: 69.22 kB / 0.6709 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 114.6 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001824/0.1774, allocations: 0.8333 MB / 0.7836 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.1783, allocations: 0.8282 MB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.1783, allocations: 0 / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1785, allocations: 51.86 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.1786, allocations: 31.83 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.075e-05/0.1786, allocations: 19.97 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.1787, allocations: 87.77 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1788, allocations: 19.97 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.1789, allocations: 35.91 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.179, allocations: 75.78 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.179, allocations: 19.88 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.1791, allocations: 4 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1791, allocations: 35.89 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.1792, allocations: 39.73 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1793, allocations: 107.9 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1793, allocations: 0 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.62e-07/0.1793, allocations: 0 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1793, allocations: 0 / 0.7849 GB, free: 11.67 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.0006488/0.18, allocations: 470.8 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.18, allocations: 12.03 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.18, allocations: 34.75 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.1801, allocations: 8.844 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1802, allocations: 206.9 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1803, allocations: 8.375 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1803, allocations: 8.312 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.1807, allocations: 155.8 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1807, allocations: 3.938 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1807, allocations: 0 / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1807, allocations: 4 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.1812, allocations: 167.8 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.182, allocations: 0.4969 MB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.1823, allocations: 165.1 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.1826, allocations: 102.7 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1826, allocations: 0 / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1826, allocations: 34.56 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1826, allocations: 0 / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008084/0.1835, allocations: 285.3 kB / 0.787 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1835, allocations: 89.03 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1836, allocations: 158.2 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1837, allocations: 25.7 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1837, allocations: 112 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1838, allocations: 19.72 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1838, allocations: 25.72 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1839, allocations: 326.8 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.1842, allocations: 75.92 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1844, allocations: 97.62 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.1848, allocations: 173.5 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1848, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004952/0.1853, allocations: 205.3 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1854, allocations: 4 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1854, allocations: 4 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.1854, allocations: 0 / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.1856, allocations: 39.95 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1856, allocations: 0 / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1857, allocations: 35.89 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1857, allocations: 4 kB / 0.7884 GB, free: 7.902 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 9.504e-05/0.1858, allocations: 133.8 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.1859, allocations: 11.81 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.1859, allocations: 16.25 kB / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.186, allocations: 0 / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.186, allocations: 4 kB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.186, allocations: 0 / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.1862, allocations: 225.5 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1862, allocations: 3.984 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1864, allocations: 35.91 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1864, allocations: 0 / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1864, allocations: 7.938 kB / 0.7888 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1864, allocations: 4 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1864, allocations: 3.984 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.187, allocations: 374.5 kB / 0.7891 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.187, allocations: 89.39 kB / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1871, allocations: 8 kB / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1872, allocations: 27.95 kB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.1873, allocations: 15.86 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1873, allocations: 4 kB / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.1874, allocations: 121.4 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1874, allocations: 0 / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000262/0.1877, allocations: 23.94 kB / 0.7894 GB, free: 6.719 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.0008372/0.1885, allocations: 0.9135 MB / 0.7903 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.189, allocations: 167.8 kB / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.189, allocations: 0 / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.1893, allocations: 95.86 kB / 0.7906 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1896, allocations: 15.98 kB / 0.7906 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.192, allocations: 1.98 MB / 0.7925 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1922, allocations: 0.7119 MB / 0.7932 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.957e-05/0.1923, allocations: 23.97 kB / 0.7932 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.1924, allocations: 31.42 kB / 0.7933 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.1924, allocations: 4 kB / 0.7933 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4142/0.6066, allocations: 2.352 MB / 0.7956 GB, free: 412 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.6068, allocations: 211.2 kB / 0.7958 GB, free: 148 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.674, allocations: 11.94 kB / 0.7958 GB, free: 136 kB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --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)