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.001215/0.001214, allocations: 180.4 kB / 16.38 MB, free: 5.762 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: 223.2 MB / 240.3 MB, free: 11.88 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.0009737/0.0009738, allocations: 94 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.778/0.778, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 11.33 kB / 0.5447 GB, free: 41.13 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 82.85 MB / 0.6256 GB, free: 7.797 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7224/0.8769, allocations: 125.9 MB / 0.7486 GB, free: 8.227 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.8772, allocations: 62.53 kB / 0.7486 GB, free: 8.195 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01115/0.8883, allocations: 2.78 MB / 0.7513 GB, free: 5.727 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8884, allocations: 0 / 0.7513 GB, free: 5.727 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.8884, allocations: 4 kB / 0.7513 GB, free: 5.723 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007157/0.8891, allocations: 470.9 kB / 0.7518 GB, free: 5.223 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.8892, allocations: 8.031 kB / 0.7518 GB, free: 5.215 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.308e-05/0.8892, allocations: 50.25 kB / 0.7519 GB, free: 5.164 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.8893, allocations: 15.81 kB / 0.7519 GB, free: 5.148 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.8896, allocations: 230.9 kB / 0.7521 GB, free: 4.887 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.8897, allocations: 8.172 kB / 0.7521 GB, free: 4.883 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.8897, allocations: 15.86 kB / 0.7521 GB, free: 4.871 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.8901, allocations: 173.8 kB / 0.7523 GB, free: 4.73 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.8901, allocations: 0 / 0.7523 GB, free: 4.73 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.8901, allocations: 3.812 kB / 0.7523 GB, free: 4.73 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8901, allocations: 9.078 kB / 0.7523 GB, free: 4.723 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.8904, allocations: 151.4 kB / 0.7524 GB, free: 4.605 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.8907, allocations: 280.8 kB / 0.7527 GB, free: 4.312 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009481/0.8917, allocations: 350.8 kB / 0.753 GB, free: 4.027 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.8919, allocations: 101 kB / 0.7531 GB, free: 3.914 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.8919, allocations: 33.03 kB / 0.7532 GB, free: 3.875 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.892, allocations: 3.938 kB / 0.7532 GB, free: 3.871 MB / 0.5107 GB Notification: Performance of matching and sorting (n=28): time 0.0006264/0.8926, allocations: 374.8 kB / 0.7535 GB, free: 3.578 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.8926, allocations: 55.36 kB / 0.7536 GB, free: 3.512 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.8927, allocations: 128.7 kB / 0.7537 GB, free: 3.387 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.8928, allocations: 28.95 kB / 0.7537 GB, free: 3.355 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.8928, allocations: 92.52 kB / 0.7538 GB, free: 3.27 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.8929, allocations: 114.1 kB / 0.7539 GB, free: 3.172 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.893, allocations: 11.75 kB / 0.7539 GB, free: 3.168 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8931, allocations: 326.3 kB / 0.7542 GB, free: 2.848 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.8933, allocations: 119.6 kB / 0.7544 GB, free: 2.754 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.8935, allocations: 127.5 kB / 0.7545 GB, free: 2.66 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.8937, allocations: 140.1 kB / 0.7546 GB, free: 2.566 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8937, allocations: 0 / 0.7546 GB, free: 2.566 MB / 0.5107 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005015/0.8942, allocations: 351.6 kB / 0.755 GB, free: 2.293 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8942, allocations: 4.625 kB / 0.755 GB, free: 2.289 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8942, allocations: 7.984 kB / 0.755 GB, free: 2.281 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8942, allocations: 4 kB / 0.755 GB, free: 2.277 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.8946, allocations: 74.53 kB / 0.755 GB, free: 2.207 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8946, allocations: 0 / 0.755 GB, free: 2.207 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.8948, allocations: 33.16 kB / 0.7551 GB, free: 2.18 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.8948, allocations: 6.562 kB / 0.7551 GB, free: 2.176 MB / 0.5107 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 (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 0.0001388/0.895, allocations: 135.3 kB / 0.7552 GB, free: 2.043 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.895, allocations: 19.8 kB / 0.7552 GB, free: 2.023 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.8957, allocations: 402.1 kB / 0.7556 GB, free: 1.723 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.8957, allocations: 4 kB / 0.7556 GB, free: 1.719 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8957, allocations: 0 / 0.7556 GB, free: 1.719 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8957, allocations: 3.984 kB / 0.7556 GB, free: 1.715 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.8961, allocations: 321.7 kB / 0.7559 GB, free: 1.391 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.8961, allocations: 0 / 0.7559 GB, free: 1.391 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.8966, allocations: 87.45 kB / 0.756 GB, free: 1.309 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.8966, allocations: 4 kB / 0.756 GB, free: 1.305 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.8967, allocations: 11.48 kB / 0.756 GB, free: 1.297 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.8967, allocations: 11.94 kB / 0.756 GB, free: 1.285 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8967, allocations: 0 / 0.756 GB, free: 1.285 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.8975, allocations: 0.5258 MB / 0.7565 GB, free: 0.8594 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.8977, allocations: 120.8 kB / 0.7567 GB, free: 0.7227 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.8977, allocations: 15.73 kB / 0.7567 GB, free: 0.7148 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.8979, allocations: 7.875 kB / 0.7567 GB, free: 0.7109 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.8979, allocations: 27.84 kB / 0.7567 GB, free: 0.6875 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.898, allocations: 8 kB / 0.7567 GB, free: 0.6797 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.0001029/0.8981, allocations: 105.7 kB / 0.7568 GB, free: 0.5859 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8981, allocations: 0 / 0.7568 GB, free: 0.5859 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.000303/0.8984, allocations: 75.69 kB / 0.7569 GB, free: 0.5195 MB / 0.5107 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 () * Number of clocked 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.001137/0.8995, allocations: 1.085 MB / 0.7579 GB, free: 15.54 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.9, allocations: 309.9 kB / 0.7582 GB, free: 15.3 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9, allocations: 0 / 0.7582 GB, free: 15.3 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.9002, allocations: 166.8 kB / 0.7584 GB, free: 15.17 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.9005, allocations: 35.72 kB / 0.7584 GB, free: 15.14 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.9032, allocations: 1.919 MB / 0.7603 GB, free: 13.38 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.9035, allocations: 0.7568 MB / 0.7611 GB, free: 12.61 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.9038, allocations: 89.84 kB / 0.7611 GB, free: 12.52 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.9039, allocations: 70.03 kB / 0.7612 GB, free: 12.48 MB / 0.5263 GB Notification: Performance of SimCode: time 9.92e-07/0.9039, allocations: 4 kB / 0.7612 GB, free: 12.48 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.9233, allocations: 4.871 MB / 0.766 GB, free: 7.805 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.9236, allocations: 222.5 kB / 0.7662 GB, free: 7.562 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.886, allocations: 4.062 kB / 0.7662 GB, free: 7.559 MB / 0.5263 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