Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",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.001034/0.001034, allocations: 97.02 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.0009848/0.0009849, 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.408/1.408, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9239/0.9239, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003354, allocations: 8 kB / 0.4956 GB, free: 9.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 82.85 MB / 0.5765 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001532/0.1831, allocations: 1.058 MB / 0.5775 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.184, allocations: 499.7 kB / 0.578 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.184, allocations: 3.938 kB / 0.578 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.817e-05/0.1841, allocations: 4 kB / 0.578 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1844, allocations: 55.84 kB / 0.578 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.099e-05/0.1845, allocations: 27.91 kB / 0.5781 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.1851, allocations: 0.6747 MB / 0.5787 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.1852, allocations: 8.188 kB / 0.5787 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1856, allocations: 355.6 kB / 0.5791 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.1863, allocations: 0.5148 MB / 0.5796 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1865, allocations: 60 kB / 0.5796 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.1867, allocations: 79.97 kB / 0.5797 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004317/0.1871, allocations: 423.1 kB / 0.5801 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1873, allocations: 149.3 kB / 0.5802 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.1879, allocations: 0.5224 MB / 0.5808 GB, free: 2.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.188, allocations: 0 / 0.5808 GB, free: 2.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.188, allocations: 0 / 0.5808 GB, free: 2.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.817e-05/0.1881, allocations: 0 / 0.5808 GB, free: 2.289 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004131/0.1922, allocations: 1.58 MB / 0.5823 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.1923, allocations: 12.03 kB / 0.5823 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002417/0.1925, allocations: 135 kB / 0.5824 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1927, allocations: 87.02 kB / 0.5825 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5383/0.731, allocations: 456.2 kB / 0.583 GB, free: 16.12 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.7312, allocations: 59.22 kB / 0.583 GB, free: 16.12 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004715/0.7317, allocations: 114.1 kB / 0.5831 GB, free: 16.11 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.7342, allocations: 1.128 MB / 0.5842 GB, free: 16.06 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.7343, allocations: 0.9375 kB / 0.5842 GB, free: 16.06 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.7344, allocations: 30.8 kB / 0.5843 GB, free: 16.06 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.7344, allocations: 23 kB / 0.5843 GB, free: 16.06 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.7376, allocations: 1.261 MB / 0.5855 GB, free: 16.05 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.7396, allocations: 1.093 MB / 0.5866 GB, free: 15.7 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007389/0.747, allocations: 2.774 MB / 0.5893 GB, free: 14.93 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/0.748, allocations: 128.4 kB / 0.5894 GB, free: 14.83 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.883e-05/0.7481, allocations: 52.66 kB / 0.5895 GB, free: 14.78 MB / 446.3 MB Notification: Performance of pre-optimization done (n=203): time 1.223e-05/0.7481, allocations: 0 / 0.5895 GB, free: 14.78 MB / 446.3 MB Notification: Performance of matching and sorting (n=203): time 0.005617/0.7538, allocations: 2.652 MB / 0.592 GB, free: 14.02 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.7539, allocations: 80.5 kB / 0.5921 GB, free: 13.95 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.7543, allocations: 229.2 kB / 0.5923 GB, free: 13.82 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.7544, allocations: 56.64 kB / 0.5924 GB, free: 13.77 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.7545, allocations: 129 kB / 0.5925 GB, free: 13.65 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000781/0.7553, allocations: 0.7795 MB / 0.5933 GB, free: 13.04 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.7554, allocations: 44.38 kB / 0.5933 GB, free: 13.01 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.7556, allocations: 414 kB / 0.5937 GB, free: 12.66 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.7573, allocations: 0.9103 MB / 0.5946 GB, free: 12.42 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.7589, allocations: 0.9366 MB / 0.5955 GB, free: 12.16 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.7607, allocations: 1.091 MB / 0.5966 GB, free: 11.79 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.7607, allocations: 0 / 0.5966 GB, free: 11.79 MB / 446.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004951/0.7657, allocations: 2.41 MB / 0.5989 GB, free: 11.02 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.7658, allocations: 5.625 kB / 0.5989 GB, free: 11.02 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7658, allocations: 0 / 0.5989 GB, free: 11.02 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.275e-05/0.7658, allocations: 9.75 kB / 0.599 GB, free: 11.02 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/0.768, allocations: 0.5217 MB / 0.5995 GB, free: 10.97 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-05/0.7681, allocations: 9.312 kB / 0.5995 GB, free: 10.97 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.7689, allocations: 152.5 kB / 0.5996 GB, free: 10.84 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.7691, allocations: 76.66 kB / 0.5997 GB, free: 10.83 MB / 446.3 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 (284): * Single equations (assignments): 284 * 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.0005003/0.7696, allocations: 314.6 kB / 0.6 GB, free: 10.62 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.7698, allocations: 89.72 kB / 0.6001 GB, free: 10.58 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005152/0.7749, allocations: 2.729 MB / 0.6027 GB, free: 9.277 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/0.7751, allocations: 26.53 kB / 0.6028 GB, free: 9.277 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/0.7752, allocations: 0 / 0.6028 GB, free: 9.277 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.163e-05/0.7753, allocations: 12.98 kB / 0.6028 GB, free: 9.266 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.7771, allocations: 1.346 MB / 0.6041 GB, free: 8.441 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.7772, allocations: 0 / 0.6041 GB, free: 8.441 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/0.78, allocations: 0.584 MB / 0.6047 GB, free: 8.328 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.655e-05/0.7801, allocations: 8.719 kB / 0.6047 GB, free: 8.328 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/0.7804, allocations: 96.58 kB / 0.6048 GB, free: 8.273 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.79e-05/0.7804, allocations: 8.906 kB / 0.6048 GB, free: 8.273 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7805, allocations: 1.062 kB / 0.6048 GB, free: 8.273 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/0.7857, allocations: 3.605 MB / 0.6083 GB, free: 6.566 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007309/0.7865, allocations: 418.3 kB / 0.6087 GB, free: 6.273 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.7868, allocations: 80.98 kB / 0.6088 GB, free: 6.227 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.7875, allocations: 46.03 kB / 0.6088 GB, free: 6.191 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.7878, allocations: 160.1 kB / 0.609 GB, free: 6.113 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.7879, allocations: 78.66 kB / 0.609 GB, free: 6.09 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.000178/0.7881, allocations: 172.4 kB / 0.6092 GB, free: 5.969 MB / 446.3 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7881, allocations: 0 / 0.6092 GB, free: 5.969 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.001602/0.7897, allocations: 449.3 kB / 0.6096 GB, free: 5.898 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.004793/0.7945, allocations: 4.277 MB / 0.6138 GB, free: 1.875 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.7978, allocations: 2.267 MB / 0.616 GB, free: 15.58 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7978, allocations: 0 / 0.616 GB, free: 15.58 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.8002, allocations: 1.25 MB / 0.6172 GB, free: 14.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.8014, allocations: 152.3 kB / 0.6174 GB, free: 14.18 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/0.8198, allocations: 12.1 MB / 0.6292 GB, free: 1.895 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/0.8207, allocations: 1.179 MB / 0.6304 GB, free: 0.6836 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.002017/0.8227, allocations: 0.7474 MB / 0.6311 GB, free: 15.93 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008921/0.8236, allocations: 471.2 kB / 0.6315 GB, free: 15.47 MB / 478.3 MB Notification: Performance of SimCode: time 1.423e-06/0.8236, allocations: 0 / 0.6315 GB, free: 15.47 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05821/0.8819, allocations: 28.39 MB / 0.6593 GB, free: 3.336 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005826/0.8826, allocations: 222.9 kB / 0.6595 GB, free: 3.094 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.853, allocations: 0 / 0.6595 GB, free: 3.094 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat does not exist to compare? outputFormat=mat