Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",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.001478/0.001478, allocations: 180.2 kB / 16.38 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.277/1.277, 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.000859/0.0008591, allocations: 96.03 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.7283/0.7283, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8 kB / 0.5447 GB, free: 41.14 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 82.85 MB / 0.6256 GB, free: 7.812 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6176/0.753, allocations: 125.9 MB / 0.7486 GB, free: 8.094 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.7532, allocations: 62.84 kB / 0.7486 GB, free: 8.062 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01238/0.7656, allocations: 4.072 MB / 0.7526 GB, free: 4.418 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7656, allocations: 0 / 0.7526 GB, free: 4.418 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.7656, allocations: 4 kB / 0.7526 GB, free: 4.414 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009259/0.7666, allocations: 0.5863 MB / 0.7532 GB, free: 3.797 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7666, allocations: 8.031 kB / 0.7532 GB, free: 3.789 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.316e-05/0.7667, allocations: 65.86 kB / 0.7533 GB, free: 3.73 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.7668, allocations: 27.72 kB / 0.7533 GB, free: 3.703 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.7672, allocations: 283.5 kB / 0.7536 GB, free: 3.391 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.7672, allocations: 20 kB / 0.7536 GB, free: 3.379 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.7673, allocations: 31.09 kB / 0.7536 GB, free: 3.359 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.7678, allocations: 312.1 kB / 0.7539 GB, free: 3.109 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.7678, allocations: 3.938 kB / 0.7539 GB, free: 3.105 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.7678, allocations: 19.81 kB / 0.7539 GB, free: 3.098 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.7678, allocations: 7.953 kB / 0.7539 GB, free: 3.09 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.7683, allocations: 290.5 kB / 0.7542 GB, free: 2.867 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.7688, allocations: 389.1 kB / 0.7546 GB, free: 2.492 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.7705, allocations: 0.6761 MB / 0.7552 GB, free: 1.953 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.7707, allocations: 97.33 kB / 0.7553 GB, free: 1.844 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.7708, allocations: 42.81 kB / 0.7554 GB, free: 1.797 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=53): time 1.923e-06/0.7708, allocations: 4 kB / 0.7554 GB, free: 1.793 MB / 0.5107 GB Notification: Performance of matching and sorting (n=53): time 0.001123/0.7719, allocations: 0.6967 MB / 0.7561 GB, free: 1.238 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.772, allocations: 59.83 kB / 0.7561 GB, free: 1.164 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.7721, allocations: 131.3 kB / 0.7562 GB, free: 1.035 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.7721, allocations: 37.58 kB / 0.7563 GB, free: 1 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.7722, allocations: 92.77 kB / 0.7564 GB, free: 0.9141 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.7724, allocations: 203 kB / 0.7566 GB, free: 0.7422 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.7724, allocations: 13.12 kB / 0.7566 GB, free: 0.7383 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7726, allocations: 343.2 kB / 0.7569 GB, free: 416 kB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.7729, allocations: 237.9 kB / 0.7571 GB, free: 236 kB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.7733, allocations: 239.4 kB / 0.7573 GB, free: 56 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.7736, allocations: 289.4 kB / 0.7576 GB, free: 15.85 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7736, allocations: 0 / 0.7576 GB, free: 15.85 MB / 0.5263 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008479/0.7745, allocations: 0.6425 MB / 0.7583 GB, free: 15.36 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7745, allocations: 4 kB / 0.7583 GB, free: 15.35 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7745, allocations: 0 / 0.7583 GB, free: 15.35 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7746, allocations: 4 kB / 0.7583 GB, free: 15.35 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.7753, allocations: 151.7 kB / 0.7584 GB, free: 15.2 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7753, allocations: 3.953 kB / 0.7584 GB, free: 15.2 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.7755, allocations: 43.22 kB / 0.7584 GB, free: 15.17 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.7756, allocations: 23.8 kB / 0.7585 GB, free: 15.15 MB / 0.5263 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 (74): * Single equations (assignments): 74 * 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.0001447/0.7757, allocations: 157.8 kB / 0.7586 GB, free: 15 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.7758, allocations: 23.72 kB / 0.7586 GB, free: 14.98 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.7768, allocations: 0.7252 MB / 0.7594 GB, free: 14.44 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7769, allocations: 8 kB / 0.7594 GB, free: 14.43 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7769, allocations: 0 / 0.7594 GB, free: 14.43 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7769, allocations: 15.88 kB / 0.7594 GB, free: 14.42 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.7774, allocations: 458.5 kB / 0.7598 GB, free: 13.99 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7774, allocations: 0 / 0.7598 GB, free: 13.99 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/0.7783, allocations: 167.5 kB / 0.76 GB, free: 13.83 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.7783, allocations: 7.984 kB / 0.76 GB, free: 13.82 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.7783, allocations: 23.23 kB / 0.76 GB, free: 13.81 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7783, allocations: 4 kB / 0.76 GB, free: 13.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7783, allocations: 0 / 0.76 GB, free: 13.8 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.7796, allocations: 0.9667 MB / 0.761 GB, free: 13.07 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.7799, allocations: 172.1 kB / 0.7611 GB, free: 12.88 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.7799, allocations: 19.56 kB / 0.7611 GB, free: 12.88 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.7801, allocations: 11.69 kB / 0.7611 GB, free: 12.87 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.7802, allocations: 40.53 kB / 0.7612 GB, free: 12.83 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.7803, allocations: 27.61 kB / 0.7612 GB, free: 12.81 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.7803, allocations: 113.4 kB / 0.7613 GB, free: 12.71 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7803, allocations: 0 / 0.7613 GB, free: 12.71 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003576/0.7807, allocations: 131.4 kB / 0.7614 GB, free: 12.6 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.001529/0.7822, allocations: 1.54 MB / 0.7629 GB, free: 11.29 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0007535/0.783, allocations: 0.5787 MB / 0.7635 GB, free: 10.83 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.783, allocations: 0 / 0.7635 GB, free: 10.83 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.7834, allocations: 328.3 kB / 0.7638 GB, free: 10.58 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.7837, allocations: 47.53 kB / 0.7639 GB, free: 10.55 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.7877, allocations: 3.348 MB / 0.7671 GB, free: 7.57 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.788, allocations: 0.8206 MB / 0.7679 GB, free: 6.727 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0004176/0.7884, allocations: 179.1 kB / 0.7681 GB, free: 6.555 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.7887, allocations: 120.6 kB / 0.7682 GB, free: 6.5 MB / 0.5263 GB Notification: Performance of SimCode: time 4.01e-07/0.7887, allocations: 0 / 0.7682 GB, free: 6.5 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.8097, allocations: 8.24 MB / 0.7763 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/0.81, allocations: 212.1 kB / 0.7765 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.885, allocations: 3.375 kB / 0.7765 GB, free: 14.25 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat does not exist to compare? outputFormat=mat