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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008569, allocations: 95.41 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6884/0.6884, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 8 kB / 0.5447 GB, free: 41.04 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 82.85 MB / 0.6256 GB, free: 7.793 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5754/0.6971, allocations: 125.9 MB / 0.7486 GB, free: 8.449 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001656/0.6973, allocations: 67.19 kB / 0.7486 GB, free: 8.414 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.0396/0.7369, allocations: 12.44 MB / 0.7608 GB, free: 13.09 MB / 0.5263 GB Notification: Performance of FrontEnd: time 3.707e-06/0.737, allocations: 0 / 0.7608 GB, free: 13.09 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.737, allocations: 15.94 kB / 0.7608 GB, free: 13.08 MB / 0.5263 GB 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.003582/0.7406, allocations: 1.574 MB / 0.7623 GB, free: 11.5 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.7406, allocations: 8.031 kB / 0.7623 GB, free: 11.49 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002864/0.7409, allocations: 136.9 kB / 0.7625 GB, free: 11.4 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.7412, allocations: 83.06 kB / 0.7625 GB, free: 11.32 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.7429, allocations: 0.9039 MB / 0.7634 GB, free: 10.39 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.7429, allocations: 61.19 kB / 0.7635 GB, free: 10.35 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.7432, allocations: 118.1 kB / 0.7636 GB, free: 10.27 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.745, allocations: 1.127 MB / 0.7647 GB, free: 9.398 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.745, allocations: 4 kB / 0.7647 GB, free: 9.395 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.803e-05/0.7451, allocations: 31 kB / 0.7647 GB, free: 9.387 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.7452, allocations: 27.94 kB / 0.7648 GB, free: 9.359 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.7471, allocations: 1.263 MB / 0.766 GB, free: 8.336 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.7493, allocations: 1.084 MB / 0.7671 GB, free: 7.41 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006492/0.7558, allocations: 2.771 MB / 0.7698 GB, free: 5.293 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.7563, allocations: 127 kB / 0.7699 GB, free: 5.156 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.7563, allocations: 52.06 kB / 0.7699 GB, free: 5.113 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=203): time 4.248e-06/0.7563, allocations: 0 / 0.7699 GB, free: 5.113 MB / 0.5263 GB Notification: Performance of matching and sorting (n=203): time 0.004974/0.7613, allocations: 2.662 MB / 0.7725 GB, free: 3.074 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.7614, allocations: 77.36 kB / 0.7726 GB, free: 2.988 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.7617, allocations: 203.4 kB / 0.7728 GB, free: 2.805 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.7618, allocations: 57.02 kB / 0.7728 GB, free: 2.766 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.7619, allocations: 133.4 kB / 0.773 GB, free: 2.664 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006395/0.7625, allocations: 0.7775 MB / 0.7737 GB, free: 1.984 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.7627, allocations: 46.88 kB / 0.7738 GB, free: 1.973 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.7629, allocations: 421.2 kB / 0.7742 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.7645, allocations: 0.9111 MB / 0.7751 GB, free: 0.9102 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.766, allocations: 0.9318 MB / 0.776 GB, free: 204 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.7677, allocations: 1.085 MB / 0.777 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.7678, allocations: 0 / 0.777 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004479/0.7722, allocations: 2.415 MB / 0.7794 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.7723, allocations: 8 kB / 0.7794 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.7723, allocations: 0 / 0.7794 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.7723, allocations: 8 kB / 0.7794 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003236/0.7756, allocations: 0.5455 MB / 0.7799 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-05/0.7756, allocations: 13.72 kB / 0.78 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.7765, allocations: 148.7 kB / 0.7801 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.7767, allocations: 83.28 kB / 0.7802 GB, free: 12.83 MB / 0.5419 GB 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.0004985/0.7772, allocations: 302 kB / 0.7805 GB, free: 12.59 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.7774, allocations: 86.97 kB / 0.7806 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/0.7822, allocations: 2.726 MB / 0.7832 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/0.7823, allocations: 28 kB / 0.7832 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.7823, allocations: 0 / 0.7832 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/0.7823, allocations: 15.94 kB / 0.7833 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.7842, allocations: 1.343 MB / 0.7846 GB, free: 9.324 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.7842, allocations: 0 / 0.7846 GB, free: 9.324 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004026/0.7883, allocations: 0.6196 MB / 0.7852 GB, free: 8.727 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.612e-05/0.7883, allocations: 8 kB / 0.7852 GB, free: 8.719 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005687/0.7889, allocations: 94.69 kB / 0.7853 GB, free: 8.66 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.075e-05/0.789, allocations: 8 kB / 0.7853 GB, free: 8.652 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.789, allocations: 7.922 kB / 0.7853 GB, free: 8.645 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/0.7942, allocations: 3.6 MB / 0.7888 GB, free: 5.914 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/0.795, allocations: 418.2 kB / 0.7892 GB, free: 5.504 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.7952, allocations: 78.89 kB / 0.7893 GB, free: 5.461 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.7959, allocations: 45.88 kB / 0.7893 GB, free: 5.453 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.7962, allocations: 169.4 kB / 0.7895 GB, free: 5.301 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.7963, allocations: 82.72 kB / 0.7896 GB, free: 5.238 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001488/0.7965, allocations: 167.8 kB / 0.7897 GB, free: 5.094 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7965, allocations: 0 / 0.7897 GB, free: 5.094 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008956/0.7974, allocations: 465.4 kB / 0.7902 GB, free: 4.711 MB / 0.5419 GB 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.005275/0.8027, allocations: 4.26 MB / 0.7943 GB, free: 1.348 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.003372/0.8061, allocations: 2.264 MB / 0.7965 GB, free: 15.56 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8061, allocations: 0 / 0.7965 GB, free: 15.56 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.8082, allocations: 1.258 MB / 0.7978 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.8089, allocations: 156.8 kB / 0.7979 GB, free: 14.49 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.8243, allocations: 12.11 MB / 0.8097 GB, free: 3.809 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/0.8252, allocations: 1.174 MB / 0.8109 GB, free: 2.609 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.002387/0.8276, allocations: 0.7435 MB / 0.8116 GB, free: 1.863 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/0.8284, allocations: 477.6 kB / 0.8121 GB, free: 1.684 MB / 0.5575 GB Notification: Performance of SimCode: time 8.01e-07/0.8284, allocations: 0 / 0.8121 GB, free: 1.684 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04997/0.8784, allocations: 28.5 MB / 0.8399 GB, free: 5.438 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.8787, allocations: 227.7 kB / 0.8401 GB, free: 5.188 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/3.844, allocations: 0 / 0.8401 GB, free: 5.188 MB / 0.5888 GB (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) 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