Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.00112/0.00112, allocations: 85.73 kB / 16.31 MB, free: 6.449 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.00111/0.00111, allocations: 181 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 223.2 MB / 241.2 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.044/1.044, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003596, allocations: 12 kB / 0.4957 GB, free: 9.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1863, allocations: 82.84 MB / 0.5766 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001929/0.1883, allocations: 1.085 MB / 0.5776 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1896, allocations: 491.7 kB / 0.5781 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.1897, allocations: 0 / 0.5781 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.1899, allocations: 7.922 kB / 0.5781 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.1903, allocations: 51.8 kB / 0.5781 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.1905, allocations: 31.91 kB / 0.5782 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.1908, allocations: 203.4 kB / 0.5784 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.1909, allocations: 4.188 kB / 0.5784 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1911, allocations: 83.75 kB / 0.5785 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.1915, allocations: 103.8 kB / 0.5786 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.1915, allocations: 8 kB / 0.5786 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1917, allocations: 31.97 kB / 0.5786 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1918, allocations: 63.86 kB / 0.5787 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1919, allocations: 41.64 kB / 0.5787 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1921, allocations: 92.08 kB / 0.5788 GB, free: 4.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1921, allocations: 4 kB / 0.5788 GB, free: 4.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1921, allocations: 3.938 kB / 0.5788 GB, free: 4.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.954e-06/0.1921, allocations: 0 / 0.5788 GB, free: 4.371 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009998/0.1931, allocations: 459 kB / 0.5792 GB, free: 3.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.1932, allocations: 12.03 kB / 0.5792 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.1934, allocations: 46.55 kB / 0.5793 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.895e-05/0.1935, allocations: 19.77 kB / 0.5793 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1938, allocations: 206.8 kB / 0.5795 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1938, allocations: 12.17 kB / 0.5795 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.1939, allocations: 15.98 kB / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.1943, allocations: 175.4 kB / 0.5797 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1943, allocations: 0 / 0.5797 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1943, allocations: 8 kB / 0.5797 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.1944, allocations: 3.953 kB / 0.5797 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.1947, allocations: 148.6 kB / 0.5798 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.1952, allocations: 286.2 kB / 0.5801 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1962, allocations: 354.8 kB / 0.5805 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.1964, allocations: 116.8 kB / 0.5806 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.1966, allocations: 89.09 kB / 0.5807 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1967, allocations: 34.56 kB / 0.5807 GB, free: 2.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.445e-06/0.1967, allocations: 0 / 0.5807 GB, free: 2.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007973/0.1975, allocations: 385.9 kB / 0.5811 GB, free: 1.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1976, allocations: 63.36 kB / 0.5811 GB, free: 1.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1977, allocations: 131.8 kB / 0.5812 GB, free: 1.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1978, allocations: 29.7 kB / 0.5813 GB, free: 1.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.1978, allocations: 96.69 kB / 0.5814 GB, free: 1.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.198, allocations: 110.4 kB / 0.5815 GB, free: 1.398 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.198, allocations: 8 kB / 0.5815 GB, free: 1.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1981, allocations: 326.8 kB / 0.5818 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1984, allocations: 120.6 kB / 0.5819 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.1986, allocations: 133.2 kB / 0.582 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.199, allocations: 141.6 kB / 0.5822 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.199, allocations: 0 / 0.5822 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008642/0.1999, allocations: 366 kB / 0.5825 GB, free: 320 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.2, allocations: 4 kB / 0.5825 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2, allocations: 0 / 0.5825 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2, allocations: 0 / 0.5825 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2003, allocations: 75.84 kB / 0.5826 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2003, allocations: 4 kB / 0.5826 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2004, allocations: 27.7 kB / 0.5826 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2005, allocations: 15.98 kB / 0.5826 GB, free: 192 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 39 * 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 0.0001253/0.2006, allocations: 129.8 kB / 0.5828 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.2006, allocations: 11.91 kB / 0.5828 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6028/0.8034, allocations: 395 kB / 0.5831 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.8034, allocations: 4.906 kB / 0.5831 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.8035, allocations: 0.5625 kB / 0.5831 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.8035, allocations: 2.016 kB / 0.5832 GB, free: 16.7 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.8039, allocations: 312.8 kB / 0.5834 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.804, allocations: 1.062 kB / 0.5835 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.8045, allocations: 84.92 kB / 0.5835 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.8045, allocations: 2.297 kB / 0.5835 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.8046, allocations: 13.17 kB / 0.5835 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.8046, allocations: 6.031 kB / 0.5836 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8046, allocations: 0 / 0.5836 GB, free: 16.51 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.8056, allocations: 0.526 MB / 0.5841 GB, free: 16.42 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.8057, allocations: 127.5 kB / 0.5842 GB, free: 16.32 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.8058, allocations: 17.14 kB / 0.5842 GB, free: 16.31 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.8059, allocations: 5.609 kB / 0.5842 GB, free: 16.31 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.8059, allocations: 22.69 kB / 0.5842 GB, free: 16.31 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.806, allocations: 13.72 kB / 0.5842 GB, free: 16.31 MB / 446.3 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.806, allocations: 102.8 kB / 0.5843 GB, free: 16.24 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8061, allocations: 4.75 kB / 0.5843 GB, free: 16.24 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003601/0.8064, allocations: 68.48 kB / 0.5844 GB, free: 16.24 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.001187/0.8076, allocations: 1.072 MB / 0.5855 GB, free: 15.63 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.8083, allocations: 302 kB / 0.5857 GB, free: 15.62 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8083, allocations: 0.8438 kB / 0.5857 GB, free: 15.62 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.8086, allocations: 175.3 kB / 0.5859 GB, free: 15.61 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.8089, allocations: 34.92 kB / 0.5859 GB, free: 15.61 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.812, allocations: 1.926 MB / 0.5878 GB, free: 14.81 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.8123, allocations: 0.7455 MB / 0.5886 GB, free: 14.11 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.8126, allocations: 88 kB / 0.5886 GB, free: 14.11 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.8128, allocations: 71.38 kB / 0.5887 GB, free: 14.09 MB / 446.3 MB Notification: Performance of SimCode: time 1.442e-06/0.8128, allocations: 2.062 kB / 0.5887 GB, free: 14.09 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.8343, allocations: 4.922 MB / 0.5935 GB, free: 13.74 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.8345, allocations: 229.3 kB / 0.5937 GB, free: 13.5 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.011, allocations: 7.516 kB / 0.5937 GB, free: 13.49 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat does not exist to compare? outputFormat=mat