Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",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.001313/0.001313, 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.301/1.301, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.0008292/0.0008293, allocations: 83.61 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8954/0.8954, allocations: 120.4 MB / 457.8 MB, free: 7.062 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.328e-05, allocations: 0 / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5548, allocations: 82.84 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.7032, allocations: 125.1 MB / 0.7389 GB, free: 12.09 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001586/0.7034, allocations: 59.89 kB / 0.7389 GB, free: 12.03 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.002385/0.7058, allocations: 0.7708 MB / 0.7397 GB, free: 11.26 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7058, allocations: 0 / 0.7397 GB, free: 11.26 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.7058, allocations: 0 / 0.7397 GB, free: 11.26 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003047/0.7061, allocations: 322.5 kB / 0.74 GB, free: 10.9 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7062, allocations: 12.03 kB / 0.74 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.7062, allocations: 30.56 kB / 0.74 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.7063, allocations: 3.953 kB / 0.74 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.7064, allocations: 163.1 kB / 0.7402 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.7064, allocations: 4 kB / 0.7402 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.7065, allocations: 0 / 0.7402 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.7066, allocations: 37.62 kB / 0.7402 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.7066, allocations: 7.984 kB / 0.7402 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.7066, allocations: 0 / 0.7402 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.7066, allocations: 3.953 kB / 0.7403 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.7067, allocations: 15.98 kB / 0.7403 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.7069, allocations: 149.7 kB / 0.7404 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.7071, allocations: 38.61 kB / 0.7404 GB, free: 10.33 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.7072, allocations: 12.86 kB / 0.7405 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.7072, allocations: 8.078 kB / 0.7405 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.7072, allocations: 30.56 kB / 0.7405 GB, free: 10.27 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.7072, allocations: 4 kB / 0.7405 GB, free: 10.27 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0001541/0.7074, allocations: 49.59 kB / 0.7405 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.7074, allocations: 51.41 kB / 0.7406 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.7075, allocations: 88.95 kB / 0.7407 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.7075, allocations: 29.7 kB / 0.7407 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.7076, allocations: 84.14 kB / 0.7408 GB, free: 9.934 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.7076, allocations: 7.844 kB / 0.7408 GB, free: 9.926 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.7076, allocations: 0 / 0.7408 GB, free: 9.926 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7078, allocations: 319 kB / 0.7411 GB, free: 9.605 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.7078, allocations: 8 kB / 0.7411 GB, free: 9.598 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.7078, allocations: 7.938 kB / 0.7411 GB, free: 9.59 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.7078, allocations: 15.94 kB / 0.7411 GB, free: 9.574 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7078, allocations: 0 / 0.7411 GB, free: 9.574 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.846e-05/0.7079, allocations: 45.69 kB / 0.7412 GB, free: 9.523 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7079, allocations: 7.938 kB / 0.7412 GB, free: 9.516 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.708, allocations: 8 kB / 0.7412 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.708, allocations: 0 / 0.7412 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.708, allocations: 7.984 kB / 0.7412 GB, free: 9.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.708, allocations: 4 kB / 0.7412 GB, free: 9.496 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.7081, allocations: 3.906 kB / 0.7412 GB, free: 9.492 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.7081, allocations: 7.953 kB / 0.7412 GB, free: 9.484 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 (4): * Single equations (assignments): 4 * 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 6.288e-05/0.7081, allocations: 101 kB / 0.7413 GB, free: 9.379 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.7082, allocations: 0 / 0.7413 GB, free: 9.379 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.7083, allocations: 77.11 kB / 0.7414 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7083, allocations: 0 / 0.7414 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7083, allocations: 4 kB / 0.7414 GB, free: 9.289 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7083, allocations: 0 / 0.7414 GB, free: 9.289 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.7085, allocations: 165.6 kB / 0.7415 GB, free: 9.078 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7085, allocations: 0 / 0.7415 GB, free: 9.078 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.7085, allocations: 11.98 kB / 0.7416 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7086, allocations: 0 / 0.7416 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7086, allocations: 0 / 0.7416 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.7086, allocations: 4 kB / 0.7416 GB, free: 9.062 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7086, allocations: 0 / 0.7416 GB, free: 9.062 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.7088, allocations: 109.1 kB / 0.7417 GB, free: 8.938 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.7088, allocations: 77.11 kB / 0.7417 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7088, allocations: 8.016 kB / 0.7417 GB, free: 8.836 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.7088, allocations: 0 / 0.7417 GB, free: 8.836 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.7089, allocations: 3.984 kB / 0.7417 GB, free: 8.832 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.7089, allocations: 4 kB / 0.7418 GB, free: 8.828 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.7089, allocations: 79.28 kB / 0.7418 GB, free: 8.75 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7089, allocations: 0 / 0.7418 GB, free: 8.75 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002083/0.7091, allocations: 24.09 kB / 0.7419 GB, free: 8.727 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0004232/0.7096, allocations: 0.6438 MB / 0.7425 GB, free: 8.051 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.7096, allocations: 20 kB / 0.7425 GB, free: 8.031 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7097, allocations: 0 / 0.7425 GB, free: 8.031 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.7097, allocations: 23.92 kB / 0.7425 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.411e-05/0.7098, allocations: 8 kB / 0.7425 GB, free: 8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.7102, allocations: 120.6 kB / 0.7426 GB, free: 7.848 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.7104, allocations: 0.6848 MB / 0.7433 GB, free: 7.137 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.7105, allocations: 4 kB / 0.7433 GB, free: 7.133 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.7105, allocations: 15.44 kB / 0.7433 GB, free: 7.117 MB / 0.5419 GB Notification: Performance of SimCode: time 5.01e-07/0.7105, allocations: 0 / 0.7433 GB, free: 7.117 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.7219, allocations: 1.225 MB / 0.7445 GB, free: 6.035 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.7222, allocations: 180.3 kB / 0.7447 GB, free: 5.809 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.31, allocations: 0.7031 kB / 0.7447 GB, free: 5.809 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat does not exist to compare? outputFormat=mat