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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 174.5 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.289/1.289, allocations: 221.3 MB / 235.5 MB, free: 2.93 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.0009378/0.0009378, allocations: 86.98 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9108/0.9108, allocations: 120.4 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.102e-05, allocations: 4 kB / 0.5368 GB, free: 11.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5375, allocations: 82.83 MB / 0.6177 GB, free: 9.281 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.6869, allocations: 125.8 MB / 0.7405 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.6871, allocations: 67.77 kB / 0.7406 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.00926/0.6964, allocations: 2.778 MB / 0.7433 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6965, allocations: 0 / 0.7433 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.6965, allocations: 0 / 0.7433 GB, free: 8.465 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006914/0.6972, allocations: 454.3 kB / 0.7438 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.6972, allocations: 12.03 kB / 0.7438 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.6973, allocations: 46.5 kB / 0.7438 GB, free: 7.906 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.6974, allocations: 15.86 kB / 0.7438 GB, free: 7.891 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.6977, allocations: 231.6 kB / 0.744 GB, free: 7.625 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.6978, allocations: 12.23 kB / 0.7441 GB, free: 7.613 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.6978, allocations: 12 kB / 0.7441 GB, free: 7.602 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.6981, allocations: 175.4 kB / 0.7442 GB, free: 7.426 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6982, allocations: 0 / 0.7442 GB, free: 7.426 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.6982, allocations: 4 kB / 0.7442 GB, free: 7.422 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.6982, allocations: 7.953 kB / 0.7443 GB, free: 7.414 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.6985, allocations: 140.6 kB / 0.7444 GB, free: 7.277 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.6988, allocations: 282.1 kB / 0.7447 GB, free: 6.953 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.6998, allocations: 349.6 kB / 0.745 GB, free: 6.605 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.7, allocations: 116.8 kB / 0.7451 GB, free: 6.488 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.7002, allocations: 89.09 kB / 0.7452 GB, free: 6.383 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.7003, allocations: 38.56 kB / 0.7452 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.7003, allocations: 0 / 0.7452 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.0005116/0.7008, allocations: 282 kB / 0.7455 GB, free: 6.055 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.7009, allocations: 59.36 kB / 0.7455 GB, free: 5.984 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.701, allocations: 118.6 kB / 0.7457 GB, free: 5.863 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.701, allocations: 29.7 kB / 0.7457 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.7011, allocations: 96.69 kB / 0.7458 GB, free: 5.73 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.7012, allocations: 110.4 kB / 0.7459 GB, free: 5.621 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.7012, allocations: 4 kB / 0.7459 GB, free: 5.617 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7013, allocations: 338.8 kB / 0.7462 GB, free: 5.277 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.7015, allocations: 116.6 kB / 0.7463 GB, free: 5.16 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.7017, allocations: 129.2 kB / 0.7464 GB, free: 5.035 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.702, allocations: 145.5 kB / 0.7466 GB, free: 4.895 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.702, allocations: 4 kB / 0.7466 GB, free: 4.891 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000505/0.7025, allocations: 362.1 kB / 0.7469 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7025, allocations: 4 kB / 0.7469 GB, free: 4.527 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7025, allocations: 4 kB / 0.7469 GB, free: 4.523 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7025, allocations: 3.938 kB / 0.7469 GB, free: 4.52 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.7029, allocations: 83.89 kB / 0.747 GB, free: 4.438 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.7029, allocations: 0 / 0.747 GB, free: 4.438 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.7031, allocations: 27.7 kB / 0.7471 GB, free: 4.41 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.7031, allocations: 8 kB / 0.7471 GB, free: 4.402 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 () * 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 8.901e-05/0.7032, allocations: 116.9 kB / 0.7472 GB, free: 4.281 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.7032, allocations: 15.81 kB / 0.7472 GB, free: 4.266 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/0.7039, allocations: 394.9 kB / 0.7476 GB, free: 3.871 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.704, allocations: 7.984 kB / 0.7476 GB, free: 3.863 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.704, allocations: 3.938 kB / 0.7476 GB, free: 3.859 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.704, allocations: 3.984 kB / 0.7476 GB, free: 3.855 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.7043, allocations: 309.3 kB / 0.7479 GB, free: 3.504 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7044, allocations: 4 kB / 0.7479 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.7048, allocations: 91.89 kB / 0.748 GB, free: 3.41 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.7049, allocations: 0 / 0.748 GB, free: 3.41 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.7049, allocations: 15.98 kB / 0.748 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.7049, allocations: 4 kB / 0.748 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7049, allocations: 0 / 0.748 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.7057, allocations: 0.5183 MB / 0.7485 GB, free: 2.852 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.7059, allocations: 124.8 kB / 0.7486 GB, free: 2.711 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.7059, allocations: 12 kB / 0.7486 GB, free: 2.699 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.706, allocations: 4 kB / 0.7486 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.7061, allocations: 31.89 kB / 0.7487 GB, free: 2.664 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.7061, allocations: 12 kB / 0.7487 GB, free: 2.652 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.7062, allocations: 100.5 kB / 0.7488 GB, free: 2.555 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7062, allocations: 0 / 0.7488 GB, free: 2.555 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002884/0.7065, allocations: 79.94 kB / 0.7488 GB, free: 2.477 MB / 0.5419 GB 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 () * 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.001065/0.7076, allocations: 1.067 MB / 0.7499 GB, free: 1.383 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.7081, allocations: 304.3 kB / 0.7502 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7081, allocations: 0 / 0.7502 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.7083, allocations: 164 kB / 0.7503 GB, free: 0.9258 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.7085, allocations: 31.97 kB / 0.7504 GB, free: 0.8945 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.587/1.296, allocations: 0.8942 MB / 0.7512 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/1.296, allocations: 0.7519 MB / 0.752 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004044/1.296, allocations: 98.08 kB / 0.7521 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.297, allocations: 68.03 kB / 0.7521 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of SimCode: time 1.002e-06/1.297, allocations: 0 / 0.7521 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/1.316, allocations: 4.915 MB / 0.7569 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.317, allocations: 188.4 kB / 0.7571 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/3.164, allocations: 4.562 kB / 0.7571 GB, free: 131.7 MB / 0.5421 GB (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) 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