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.001637/0.001637, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 221.5 MB / 230.3 MB, free: 7.527 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.0008551/0.0008554, allocations: 86.23 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9207/0.9207, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.215e-05, allocations: 4 kB / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5917/0.5917, allocations: 82.84 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.7766, allocations: 124.5 MB / 0.7313 GB, free: 368 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.7769, allocations: 47.92 kB / 0.7314 GB, free: 320 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.00228/0.7792, allocations: 0.763 MB / 0.7321 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7792, allocations: 0 / 0.7321 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7792, allocations: 0 / 0.7321 GB, free: 15.55 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.0002515/0.7794, allocations: 330.5 kB / 0.7324 GB, free: 15.18 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7795, allocations: 12.02 kB / 0.7324 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.7795, allocations: 7.938 kB / 0.7324 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.7796, allocations: 167 kB / 0.7326 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.7797, allocations: 0 / 0.7326 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.7797, allocations: 0 / 0.7326 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.531e-05/0.7797, allocations: 7.984 kB / 0.7326 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.711e-05/0.7798, allocations: 37.69 kB / 0.7326 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.7798, allocations: 0 / 0.7326 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.7798, allocations: 0 / 0.7326 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.7798, allocations: 11.95 kB / 0.7326 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.78, allocations: 122.2 kB / 0.7328 GB, free: 14.74 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.7802, allocations: 42.55 kB / 0.7328 GB, free: 14.69 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.7802, allocations: 16.86 kB / 0.7328 GB, free: 14.67 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.7802, allocations: 3.984 kB / 0.7328 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.7803, allocations: 42.64 kB / 0.7329 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.7803, allocations: 4 kB / 0.7329 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0002577/0.7806, allocations: 49.59 kB / 0.7329 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.7806, allocations: 51.41 kB / 0.733 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.7807, allocations: 89 kB / 0.733 GB, free: 14.4 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.7807, allocations: 29.69 kB / 0.7331 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.7807, allocations: 80.14 kB / 0.7332 GB, free: 14.28 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.7808, allocations: 11.84 kB / 0.7332 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.7808, allocations: 4 kB / 0.7332 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7809, allocations: 318.9 kB / 0.7335 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.7809, allocations: 4 kB / 0.7335 GB, free: 13.94 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.7809, allocations: 7.938 kB / 0.7335 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.2e-05/0.781, allocations: 11.98 kB / 0.7335 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.781, allocations: 3.938 kB / 0.7335 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.7812, allocations: 57.67 kB / 0.7336 GB, free: 13.86 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7812, allocations: 4 kB / 0.7336 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7812, allocations: 0 / 0.7336 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7812, allocations: 0 / 0.7336 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-05/0.7813, allocations: 15.98 kB / 0.7336 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.7813, allocations: 0 / 0.7336 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.7813, allocations: 3.906 kB / 0.7336 GB, free: 13.83 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.7813, allocations: 0 / 0.7336 GB, free: 13.83 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.25e-05/0.7814, allocations: 108.9 kB / 0.7337 GB, free: 13.72 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001171/0.7815, allocations: 53.61 kB / 0.7337 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.7815, allocations: 4 kB / 0.7337 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.7817, allocations: 69.8 kB / 0.7338 GB, free: 13.58 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.7817, allocations: 4.234 kB / 0.7338 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7817, allocations: 0 / 0.7338 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.7817, allocations: 3.984 kB / 0.7338 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.859e-05/0.7818, allocations: 138.2 kB / 0.7339 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7818, allocations: 0 / 0.7339 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.7819, allocations: 15.98 kB / 0.734 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7819, allocations: 3.938 kB / 0.734 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.7819, allocations: 0 / 0.734 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7819, allocations: 0 / 0.734 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.782, allocations: 0 / 0.734 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.7821, allocations: 109 kB / 0.7341 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.7822, allocations: 77.11 kB / 0.7341 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.7822, allocations: 0 / 0.7341 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.7822, allocations: 0 / 0.7341 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.7823, allocations: 12.08 kB / 0.7342 GB, free: 13.15 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.7823, allocations: 8 kB / 0.7342 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.7823, allocations: 79.34 kB / 0.7342 GB, free: 13.06 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7823, allocations: 4.094 kB / 0.7342 GB, free: 13.06 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001873/0.7825, allocations: 15.94 kB / 0.7343 GB, free: 13.04 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.0004488/0.783, allocations: 0.6436 MB / 0.7349 GB, free: 12.37 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.089e-05/0.783, allocations: 24 kB / 0.7349 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.783, allocations: 0 / 0.7349 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.7831, allocations: 20 kB / 0.7349 GB, free: 12.32 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.89e-05/0.7832, allocations: 3.938 kB / 0.7349 GB, free: 12.32 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.7835, allocations: 123.6 kB / 0.735 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.7838, allocations: 0.6807 MB / 0.7357 GB, free: 11.46 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.7838, allocations: 7.984 kB / 0.7357 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.7839, allocations: 19.42 kB / 0.7357 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.7839, allocations: 0 / 0.7357 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.8046, allocations: 0.91 MB / 0.7366 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.8049, allocations: 164.7 kB / 0.7368 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.392, allocations: 2.109 kB / 0.7368 GB, free: 10.34 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