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.001429/0.001429, allocations: 95.22 kB / 16.3 MB, free: 5.996 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.001551/0.001551, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.485/1.485, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9518/0.9518, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003568, allocations: 8 kB / 0.4956 GB, free: 9.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.19, allocations: 82.86 MB / 0.5765 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001556/0.1916, allocations: 1.061 MB / 0.5775 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008845/0.1925, allocations: 487.7 kB / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.1926, allocations: 0 / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.088e-05/0.1927, allocations: 7.938 kB / 0.578 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.193, allocations: 47.91 kB / 0.578 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.65e-05/0.1931, allocations: 39.83 kB / 0.5781 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1933, allocations: 115.8 kB / 0.5782 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.1934, allocations: 4.188 kB / 0.5782 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1935, allocations: 75.75 kB / 0.5782 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1937, allocations: 83.83 kB / 0.5783 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.1937, allocations: 8 kB / 0.5783 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1938, allocations: 31.98 kB / 0.5784 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1939, allocations: 59.86 kB / 0.5784 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.194, allocations: 45.64 kB / 0.5785 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1942, allocations: 92.08 kB / 0.5786 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1942, allocations: 0 / 0.5786 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1942, allocations: 0 / 0.5786 GB, free: 4.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1942, allocations: 0 / 0.5786 GB, free: 4.555 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.0009695/0.1952, allocations: 459 kB / 0.579 GB, free: 4.055 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1952, allocations: 8.031 kB / 0.579 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.1953, allocations: 58.48 kB / 0.5791 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.1953, allocations: 15.77 kB / 0.5791 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1956, allocations: 210.8 kB / 0.5793 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1956, allocations: 8.234 kB / 0.5793 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1957, allocations: 12 kB / 0.5793 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.196, allocations: 183.3 kB / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.196, allocations: 0 / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.196, allocations: 4 kB / 0.5795 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.196, allocations: 7.953 kB / 0.5795 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1963, allocations: 144.6 kB / 0.5796 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.1966, allocations: 286.2 kB / 0.5799 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/0.1976, allocations: 346.9 kB / 0.5802 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.1978, allocations: 85.09 kB / 0.5803 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1978, allocations: 42.56 kB / 0.5803 GB, free: 2.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.202e-06/0.1978, allocations: 0 / 0.5803 GB, free: 2.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0006744/0.1985, allocations: 385.9 kB / 0.5807 GB, free: 2.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1985, allocations: 51.41 kB / 0.5808 GB, free: 2.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1987, allocations: 144 kB / 0.5809 GB, free: 1.941 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1987, allocations: 25.7 kB / 0.5809 GB, free: 1.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.1988, allocations: 96.69 kB / 0.581 GB, free: 1.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1989, allocations: 114.4 kB / 0.5811 GB, free: 1.699 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.1989, allocations: 4 kB / 0.5811 GB, free: 1.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.199, allocations: 334.8 kB / 0.5814 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.1992, allocations: 120.6 kB / 0.5816 GB, free: 1.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1994, allocations: 121.2 kB / 0.5817 GB, free: 1.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.1997, allocations: 145.5 kB / 0.5818 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1997, allocations: 0 / 0.5818 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005102/0.2002, allocations: 358.1 kB / 0.5822 GB, free: 0.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2002, allocations: 7.938 kB / 0.5822 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2002, allocations: 0 / 0.5822 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2002, allocations: 11.98 kB / 0.5822 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.2006, allocations: 75.91 kB / 0.5822 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2006, allocations: 3.938 kB / 0.5822 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2007, allocations: 23.7 kB / 0.5823 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2007, allocations: 11.98 kB / 0.5823 GB, free: 0.4922 MB / 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.0001448/0.2009, allocations: 137.8 kB / 0.5824 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.2009, allocations: 11.91 kB / 0.5824 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5757/0.7766, allocations: 392.9 kB / 0.5828 GB, free: 16.59 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.7767, allocations: 3.844 kB / 0.5828 GB, free: 16.59 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7767, allocations: 0.5938 kB / 0.5828 GB, free: 16.59 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7768, allocations: 2.875 kB / 0.5828 GB, free: 16.59 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.7772, allocations: 308.6 kB / 0.5831 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7773, allocations: 6.562 kB / 0.5831 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.7778, allocations: 83.91 kB / 0.5832 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.7778, allocations: 6.625 kB / 0.5832 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.7778, allocations: 14.22 kB / 0.5832 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.7778, allocations: 4.438 kB / 0.5832 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7779, allocations: 0.6875 kB / 0.5832 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.7788, allocations: 0.5202 MB / 0.5837 GB, free: 16.32 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.779, allocations: 131.8 kB / 0.5838 GB, free: 16.22 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.779, allocations: 14.17 kB / 0.5839 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.7792, allocations: 6.156 kB / 0.5839 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.7792, allocations: 24.97 kB / 0.5839 GB, free: 16.21 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.7793, allocations: 9.766 kB / 0.5839 GB, free: 16.21 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.506e-05/0.7793, allocations: 101.6 kB / 0.584 GB, free: 16.14 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7793, allocations: 0 / 0.584 GB, free: 16.14 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003211/0.7797, allocations: 69.55 kB / 0.5841 GB, free: 16.14 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.001062/0.7807, allocations: 1.075 MB / 0.5851 GB, free: 15.52 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0005793/0.7813, allocations: 301.5 kB / 0.5854 GB, free: 15.52 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7813, allocations: 0 / 0.5854 GB, free: 15.52 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.7816, allocations: 174 kB / 0.5856 GB, free: 15.52 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.7819, allocations: 33.05 kB / 0.5856 GB, free: 15.51 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.7848, allocations: 1.918 MB / 0.5875 GB, free: 14.71 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.7851, allocations: 0.7517 MB / 0.5882 GB, free: 14.02 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.000234/0.7853, allocations: 90.12 kB / 0.5883 GB, free: 14.01 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.7854, allocations: 65.25 kB / 0.5884 GB, free: 14 MB / 446.3 MB Notification: Performance of SimCode: time 1.272e-06/0.7855, allocations: 0 / 0.5884 GB, free: 14 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.8038, allocations: 4.904 MB / 0.5931 GB, free: 13.66 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.804, allocations: 216.3 kB / 0.5933 GB, free: 13.42 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.667, allocations: 4.547 kB / 0.5934 GB, free: 13.41 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