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.0006924/0.0006923, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007757/0.0007757, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.52/1.52, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004387/0.0004387, allocations: 18.91 kB / 0.6739 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1856, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0008252/0.1864, allocations: 486.5 kB / 0.7879 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.1874, allocations: 0.8244 MB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.1875, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1877, allocations: 51.88 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.1877, allocations: 35.81 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.96e-05/0.1878, allocations: 15.98 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1879, allocations: 83.69 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1881, allocations: 12 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.1881, allocations: 39.88 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1883, allocations: 67.8 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1883, allocations: 4 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.1883, allocations: 4 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.1884, allocations: 31.91 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.1884, allocations: 41.64 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.639e-05/0.1885, allocations: 83.81 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1885, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1885, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1885, allocations: 0 / 0.7891 GB, free: 10.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.0007117/0.1893, allocations: 467 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1893, allocations: 12.03 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.1894, allocations: 34.55 kB / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1894, allocations: 11.84 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1896, allocations: 218 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1896, allocations: 4 kB / 0.7899 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.1897, allocations: 8 kB / 0.7899 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.1901, allocations: 167.3 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.1901, allocations: 4 kB / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1901, allocations: 0 / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1901, allocations: 0 / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.1906, allocations: 203.8 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.1914, allocations: 0.5165 MB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.1918, allocations: 181.1 kB / 0.7909 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.1921, allocations: 105.7 kB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1921, allocations: 4 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1921, allocations: 38.55 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1922, allocations: 3.938 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008194/0.193, allocations: 325.4 kB / 0.7914 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.193, allocations: 81.05 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1931, allocations: 170.2 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1932, allocations: 25.7 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1932, allocations: 112 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1932, allocations: 15.72 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.1933, allocations: 4 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.1933, allocations: 326.8 kB / 0.7921 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.1936, allocations: 91.92 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.1938, allocations: 105.6 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.194, allocations: 99.86 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.194, allocations: 0 / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004622/0.1945, allocations: 245.3 kB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1945, allocations: 4 kB / 0.7926 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1945, allocations: 0 / 0.7926 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1945, allocations: 4 kB / 0.7926 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.1947, allocations: 43.95 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1947, allocations: 0 / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1949, allocations: 43.86 kB / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1949, allocations: 8.453 kB / 0.7927 GB, free: 6.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/0.195, allocations: 125.8 kB / 0.7928 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.195, allocations: 11.84 kB / 0.7928 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.1951, allocations: 20.23 kB / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1951, allocations: 0 / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1951, allocations: 7.984 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1951, allocations: 0 / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.1954, allocations: 229.4 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1954, allocations: 7.938 kB / 0.7931 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1955, allocations: 43.95 kB / 0.7931 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1955, allocations: 0 / 0.7931 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1956, allocations: 8 kB / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1956, allocations: 4 kB / 0.7931 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1956, allocations: 0 / 0.7931 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.1961, allocations: 410.5 kB / 0.7935 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.1962, allocations: 85.02 kB / 0.7936 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1962, allocations: 8 kB / 0.7936 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.1964, allocations: 35.95 kB / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1964, allocations: 7.984 kB / 0.7936 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1964, allocations: 0 / 0.7936 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.259e-05/0.1965, allocations: 125 kB / 0.7938 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1965, allocations: 0 / 0.7938 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002527/0.1968, allocations: 23.91 kB / 0.7938 GB, free: 4.953 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 (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.0007672/0.1975, allocations: 0.9546 MB / 0.7947 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.198, allocations: 192.2 kB / 0.7949 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.198, allocations: 0 / 0.7949 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.1983, allocations: 111.9 kB / 0.795 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1986, allocations: 19.92 kB / 0.795 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2002, allocations: 0.9587 MB / 0.796 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.2005, allocations: 0.708 MB / 0.7966 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.2006, allocations: 23.97 kB / 0.7967 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.2006, allocations: 35.42 kB / 0.7967 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2007, allocations: 0 / 0.7967 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.2116, allocations: 2.281 MB / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01748/0.2291, allocations: 199.3 kB / 0.7991 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.808, allocations: 3.375 kB / 0.7991 GB, free: 15.47 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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) Environment - environmentSimulation: