Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",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.001089/0.001089, allocations: 180.4 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.318/1.318, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0009654/0.0009653, allocations: 95.42 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8287/0.8287, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 8 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 82.86 MB / 0.6243 GB, free: 9.109 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7262/0.8835, allocations: 125 MB / 0.7464 GB, free: 9.047 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.8837, allocations: 51.03 kB / 0.7464 GB, free: 9.023 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009769/0.8847, allocations: 472.7 kB / 0.7469 GB, free: 8.586 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8847, allocations: 0 / 0.7469 GB, free: 8.586 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8847, allocations: 0 / 0.7469 GB, free: 8.586 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002449/0.885, allocations: 327 kB / 0.7472 GB, free: 8.227 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.885, allocations: 8.031 kB / 0.7472 GB, free: 8.219 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.8851, allocations: 38.52 kB / 0.7473 GB, free: 8.172 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.8851, allocations: 3.938 kB / 0.7473 GB, free: 8.172 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.8852, allocations: 159.1 kB / 0.7474 GB, free: 7.977 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.8852, allocations: 0 / 0.7474 GB, free: 7.977 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.8852, allocations: 4 kB / 0.7474 GB, free: 7.973 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.634e-05/0.8853, allocations: 29.7 kB / 0.7474 GB, free: 7.938 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8853, allocations: 0 / 0.7474 GB, free: 7.938 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.8853, allocations: 3.984 kB / 0.7474 GB, free: 7.934 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8854, allocations: 3.953 kB / 0.7475 GB, free: 7.93 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.8854, allocations: 4 kB / 0.7475 GB, free: 7.926 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.8855, allocations: 149.3 kB / 0.7476 GB, free: 7.734 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.605e-05/0.8856, allocations: 30.48 kB / 0.7476 GB, free: 7.699 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.8858, allocations: 85.16 kB / 0.7477 GB, free: 7.598 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.8858, allocations: 31.44 kB / 0.7477 GB, free: 7.559 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8858, allocations: 0 / 0.7477 GB, free: 7.559 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.8859, allocations: 49.56 kB / 0.7478 GB, free: 7.508 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.886, allocations: 51.41 kB / 0.7478 GB, free: 7.445 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.277e-05/0.886, allocations: 85 kB / 0.7479 GB, free: 7.355 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.8861, allocations: 29.83 kB / 0.7479 GB, free: 7.32 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.8861, allocations: 84.08 kB / 0.748 GB, free: 7.234 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.8861, allocations: 4.688 kB / 0.748 GB, free: 7.23 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.8861, allocations: 0 / 0.748 GB, free: 7.23 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8862, allocations: 318.8 kB / 0.7483 GB, free: 6.91 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.8863, allocations: 0 / 0.7483 GB, free: 6.91 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.8863, allocations: 7.75 kB / 0.7483 GB, free: 6.906 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.679e-05/0.8863, allocations: 4 kB / 0.7483 GB, free: 6.902 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8863, allocations: 0 / 0.7483 GB, free: 6.902 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.524e-05/0.8864, allocations: 41.75 kB / 0.7484 GB, free: 6.855 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.8864, allocations: 6.812 kB / 0.7484 GB, free: 6.852 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8864, allocations: 0 / 0.7484 GB, free: 6.852 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.8864, allocations: 4 kB / 0.7484 GB, free: 6.848 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.8865, allocations: 3.938 kB / 0.7484 GB, free: 6.844 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.8865, allocations: 0 / 0.7484 GB, free: 6.844 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.8865, allocations: 7.938 kB / 0.7484 GB, free: 6.84 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.8865, allocations: 3.938 kB / 0.7484 GB, free: 6.84 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 (2): * Single equations (assignments): 2 * 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.951e-05/0.8866, allocations: 117.8 kB / 0.7485 GB, free: 6.715 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.8866, allocations: 0 / 0.7485 GB, free: 6.715 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.305e-05/0.8867, allocations: 40.58 kB / 0.7486 GB, free: 6.672 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8867, allocations: 0 / 0.7486 GB, free: 6.672 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8867, allocations: 0 / 0.7486 GB, free: 6.672 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8867, allocations: 3.984 kB / 0.7486 GB, free: 6.668 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.728e-05/0.8869, allocations: 149.6 kB / 0.7487 GB, free: 6.473 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8869, allocations: 0 / 0.7487 GB, free: 6.473 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.8869, allocations: 4 kB / 0.7487 GB, free: 6.469 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.8869, allocations: 32 / 0.7487 GB, free: 6.469 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.8869, allocations: 7.938 kB / 0.7487 GB, free: 6.461 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8869, allocations: 0 / 0.7487 GB, free: 6.461 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8869, allocations: 0 / 0.7487 GB, free: 6.461 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.932e-05/0.887, allocations: 68.89 kB / 0.7488 GB, free: 6.383 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.8871, allocations: 89 kB / 0.7489 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.8871, allocations: 0 / 0.7489 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.8871, allocations: 0 / 0.7489 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.8871, allocations: 8.016 kB / 0.7489 GB, free: 6.27 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.8871, allocations: 0 / 0.7489 GB, free: 6.27 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.8872, allocations: 79.28 kB / 0.749 GB, free: 6.191 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1e-07/0.8872, allocations: 3.938 kB / 0.749 GB, free: 6.188 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001916/0.8874, allocations: 0 / 0.749 GB, free: 6.188 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003821/0.8877, allocations: 0.6119 MB / 0.7496 GB, free: 5.555 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 5.742e-05/0.8878, allocations: 8 kB / 0.7496 GB, free: 5.547 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8878, allocations: 0 / 0.7496 GB, free: 5.547 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-06/0.8878, allocations: 4 kB / 0.7496 GB, free: 5.543 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.639e-05/0.8879, allocations: 0 / 0.7496 GB, free: 5.543 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.8883, allocations: 113 kB / 0.7497 GB, free: 5.395 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.8885, allocations: 0.6809 MB / 0.7503 GB, free: 4.688 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.8886, allocations: 4.906 kB / 0.7503 GB, free: 4.684 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.8886, allocations: 11.44 kB / 0.7504 GB, free: 4.672 MB / 0.5107 GB Notification: Performance of SimCode: time 3.21e-07/0.8886, allocations: 0 / 0.7504 GB, free: 4.672 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.9013, allocations: 0.8167 MB / 0.7511 GB, free: 4.031 MB / 0.5107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.9015, allocations: 198.9 kB / 0.7513 GB, free: 3.785 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.423, allocations: 3.797 kB / 0.7513 GB, free: 3.785 MB / 0.5107 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat does not exist to compare? outputFormat=mat