Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",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.00128/0.00128, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.413/1.413, allocations: 221.4 MB / 235.5 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 90.34 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.057/1.057, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.547e-05, allocations: 0 / 0.5368 GB, free: 11.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.5999, allocations: 82.83 MB / 0.6177 GB, free: 9.27 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/0.7761, allocations: 125.8 MB / 0.7405 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.7764, allocations: 67.77 kB / 0.7406 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02208/0.7985, allocations: 6.775 MB / 0.7472 GB, free: 4.445 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7985, allocations: 0 / 0.7472 GB, free: 4.445 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.7986, allocations: 8 kB / 0.7472 GB, free: 4.438 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001704/0.8003, allocations: 0.8301 MB / 0.748 GB, free: 3.562 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.8003, allocations: 12.03 kB / 0.7481 GB, free: 3.551 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.8004, allocations: 86.52 kB / 0.7481 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.8006, allocations: 51.39 kB / 0.7482 GB, free: 3.406 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.8014, allocations: 443.2 kB / 0.7486 GB, free: 2.934 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.8014, allocations: 29 kB / 0.7486 GB, free: 2.902 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.8015, allocations: 59.75 kB / 0.7487 GB, free: 2.844 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.8025, allocations: 0.5841 MB / 0.7493 GB, free: 2.254 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.8025, allocations: 0 / 0.7493 GB, free: 2.254 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.8026, allocations: 16 kB / 0.7493 GB, free: 2.238 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.8026, allocations: 11.95 kB / 0.7493 GB, free: 2.227 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.8034, allocations: 0.5778 MB / 0.7499 GB, free: 1.652 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/0.8042, allocations: 0.606 MB / 0.7505 GB, free: 0.9922 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6726/1.477, allocations: 1.335 MB / 0.7518 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.478, allocations: 443.1 kB / 0.7522 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/1.478, allocations: 105.6 kB / 0.7523 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/1.478, allocations: 44.84 kB / 0.7523 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=103): time 2.865e-06/1.478, allocations: 0 / 0.7523 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=103): time 0.002003/1.48, allocations: 0.9589 MB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.48, allocations: 62.44 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.48, allocations: 156.4 kB / 0.7535 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/1.48, allocations: 41.52 kB / 0.7535 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/1.481, allocations: 108.4 kB / 0.7536 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.481, allocations: 405.9 kB / 0.754 GB, free: 130 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/1.481, allocations: 20.81 kB / 0.754 GB, free: 130 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/1.481, allocations: 368.1 kB / 0.7544 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/1.482, allocations: 479.7 kB / 0.7548 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/1.483, allocations: 492.4 kB / 0.7553 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/1.484, allocations: 0.5599 MB / 0.7558 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.484, allocations: 3.984 kB / 0.7558 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002227/1.486, allocations: 1.256 MB / 0.7571 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.486, allocations: 5.344 kB / 0.7571 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.486, allocations: 0.7969 kB / 0.7571 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/1.486, allocations: 5.031 kB / 0.7571 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/1.488, allocations: 284 kB / 0.7574 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/1.488, allocations: 7.828 kB / 0.7574 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/1.488, allocations: 77.41 kB / 0.7574 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/1.488, allocations: 37.91 kB / 0.7575 GB, free: 128.8 MB / 0.5421 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0001784/1.489, allocations: 155.6 kB / 0.7576 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/1.489, allocations: 49.8 kB / 0.7577 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/1.491, allocations: 1.376 MB / 0.759 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.491, allocations: 14.31 kB / 0.759 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.491, allocations: 0 / 0.759 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.491, allocations: 8.516 kB / 0.759 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.492, allocations: 0.743 MB / 0.7598 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.492, allocations: 2.734 kB / 0.7598 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/1.494, allocations: 318 kB / 0.7601 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-05/1.494, allocations: 9.234 kB / 0.7601 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.495, allocations: 48.53 kB / 0.7601 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/1.495, allocations: 8.25 kB / 0.7601 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.495, allocations: 3.281 kB / 0.7601 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/1.497, allocations: 1.816 MB / 0.7619 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/1.497, allocations: 252.8 kB / 0.7621 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/1.498, allocations: 42.41 kB / 0.7622 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/1.498, allocations: 19.56 kB / 0.7622 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/1.498, allocations: 89.47 kB / 0.7623 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/1.498, allocations: 43.06 kB / 0.7623 GB, free: 127 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 8.864e-05/1.498, allocations: 127 kB / 0.7625 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.498, allocations: 3.938 kB / 0.7625 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005697/1.499, allocations: 234.9 kB / 0.7627 GB, free: 126.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * 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.002441/1.501, allocations: 2.41 MB / 0.765 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00143/1.503, allocations: 1.135 MB / 0.7661 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.503, allocations: 0 / 0.7661 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/1.503, allocations: 0.6274 MB / 0.7668 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/1.504, allocations: 85.3 kB / 0.7668 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/1.507, allocations: 3.117 MB / 0.7699 GB, free: 122 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/1.507, allocations: 0.9322 MB / 0.7708 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007475/1.508, allocations: 377.7 kB / 0.7711 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/1.509, allocations: 236.7 kB / 0.7714 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of SimCode: time 4.81e-07/1.509, allocations: 0 / 0.7714 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/1.532, allocations: 15.15 MB / 0.7862 GB, free: 106 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/1.532, allocations: 189.9 kB / 0.7864 GB, free: 105.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.769, allocations: 4 kB / 0.7864 GB, free: 105.8 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat does not exist to compare? outputFormat=mat