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.001013/0.001013, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00102/0.00102, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.224/1.224, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.551/1.551, allocations: 292.3 MB / 0.5485 GB, free: 13.67 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.001315/0.001315, allocations: 67.72 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1867, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001882/0.1887, allocations: 0.8372 MB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.1894, allocations: 0.8243 MB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.1895, allocations: 7.938 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.1897, allocations: 47.86 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.1897, allocations: 31.89 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.341e-05/0.1898, allocations: 15.97 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1899, allocations: 95.7 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.19, allocations: 19.98 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.1901, allocations: 39.89 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1903, allocations: 91.78 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1903, allocations: 8 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.1903, allocations: 8 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.1904, allocations: 31.91 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.1904, allocations: 47.67 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1906, allocations: 115.9 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1906, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1906, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1906, allocations: 4 kB / 0.7852 GB, free: 11.57 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.0006957/0.1913, allocations: 465.2 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1913, allocations: 15.97 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.1914, allocations: 34.75 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1914, allocations: 16.78 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1916, allocations: 207.3 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1916, allocations: 4.375 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1916, allocations: 8.375 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.192, allocations: 147.9 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.192, allocations: 3.938 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.192, allocations: 4 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.192, allocations: 4 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.1925, allocations: 171.8 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.1932, allocations: 0.4969 MB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1936, allocations: 161.1 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.1938, allocations: 102.8 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1938, allocations: 0 / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1939, allocations: 30.56 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.1939, allocations: 0 / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0007805/0.1947, allocations: 289.6 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1947, allocations: 81.09 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1948, allocations: 158.2 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1949, allocations: 29.64 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.1949, allocations: 112 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.195, allocations: 27.7 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.195, allocations: 21.72 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1951, allocations: 330.7 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1953, allocations: 75.92 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1956, allocations: 93.62 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.196, allocations: 169.6 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.196, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004986/0.1965, allocations: 209.3 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1965, allocations: 10.66 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1965, allocations: 4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1966, allocations: 0 / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1968, allocations: 35.95 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1968, allocations: 0 / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1969, allocations: 35.89 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1969, allocations: 4 kB / 0.7886 GB, free: 7.797 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 8.75e-05/0.197, allocations: 133.7 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.1971, allocations: 11.81 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.1971, allocations: 20.25 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1971, allocations: 0 / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1971, allocations: 4 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1971, allocations: 4 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1974, allocations: 221.5 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1974, allocations: 7.922 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.1976, allocations: 31.97 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1976, allocations: 0 / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1976, allocations: 0 / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1976, allocations: 4 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1976, allocations: 3.984 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.1981, allocations: 382.5 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.1982, allocations: 88.92 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1982, allocations: 4 kB / 0.7894 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.1984, allocations: 31.95 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1984, allocations: 7.984 kB / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1985, allocations: 0 / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.1985, allocations: 125 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1985, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002556/0.1988, allocations: 23.94 kB / 0.7896 GB, free: 6.617 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.0007873/0.1996, allocations: 0.9107 MB / 0.7905 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.2001, allocations: 179.8 kB / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2001, allocations: 0 / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.2003, allocations: 87.92 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2007, allocations: 22.8 kB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.203, allocations: 1.988 MB / 0.7927 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.2033, allocations: 0.7186 MB / 0.7934 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.951e-05/0.2034, allocations: 23.97 kB / 0.7935 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.2034, allocations: 31.42 kB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.2034, allocations: 4 kB / 0.7935 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3809/0.5843, allocations: 2.418 MB / 0.7958 GB, free: 236 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.5847, allocations: 211.4 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.427, allocations: 6.125 kB / 0.7961 GB, free: 15.97 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/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)