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.001264/0.001264, allocations: 179.9 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.324/1.324, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.001011/0.001011, allocations: 100.1 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7899/0.7899, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 8 kB / 0.5434 GB, free: 42.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 82.85 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6641/0.8186, allocations: 125.2 MB / 0.7466 GB, free: 8.52 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001415/0.8188, allocations: 45.55 kB / 0.7466 GB, free: 8.5 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.002074/0.8208, allocations: 0.7728 MB / 0.7474 GB, free: 7.809 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8209, allocations: 0 / 0.7474 GB, free: 7.809 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.8209, allocations: 4 kB / 0.7474 GB, free: 7.805 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003034/0.8212, allocations: 327.9 kB / 0.7477 GB, free: 7.438 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.8212, allocations: 8.031 kB / 0.7477 GB, free: 7.43 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.8213, allocations: 38.52 kB / 0.7477 GB, free: 7.383 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.8213, allocations: 0.7812 kB / 0.7477 GB, free: 7.383 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.8214, allocations: 167 kB / 0.7479 GB, free: 7.18 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.8215, allocations: 3.938 kB / 0.7479 GB, free: 7.18 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.8215, allocations: 4 kB / 0.7479 GB, free: 7.176 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.8216, allocations: 37.69 kB / 0.7479 GB, free: 7.133 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.8216, allocations: 0 / 0.7479 GB, free: 7.133 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.8216, allocations: 0 / 0.7479 GB, free: 7.133 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.8216, allocations: 3.953 kB / 0.7479 GB, free: 7.129 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.8217, allocations: 11.75 kB / 0.748 GB, free: 7.121 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.8218, allocations: 157.5 kB / 0.7481 GB, free: 6.922 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.822, allocations: 42.48 kB / 0.7481 GB, free: 6.875 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.8221, allocations: 8.016 kB / 0.7482 GB, free: 6.867 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.8221, allocations: 38.62 kB / 0.7482 GB, free: 6.82 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.8221, allocations: 0 / 0.7482 GB, free: 6.82 MB / 0.5107 GB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.8222, allocations: 45.5 kB / 0.7482 GB, free: 6.773 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.8223, allocations: 55.34 kB / 0.7483 GB, free: 6.707 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.8224, allocations: 96.45 kB / 0.7484 GB, free: 6.609 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.8224, allocations: 25.7 kB / 0.7484 GB, free: 6.578 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.8224, allocations: 80.14 kB / 0.7485 GB, free: 6.496 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.8225, allocations: 19.95 kB / 0.7485 GB, free: 6.477 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-06/0.8225, allocations: 0 / 0.7485 GB, free: 6.477 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8226, allocations: 314.5 kB / 0.7488 GB, free: 6.164 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.8226, allocations: 4 kB / 0.7488 GB, free: 6.16 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.8226, allocations: 11.86 kB / 0.7488 GB, free: 6.152 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.8227, allocations: 4 kB / 0.7488 GB, free: 6.148 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8227, allocations: 0 / 0.7488 GB, free: 6.148 MB / 0.5107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.401e-05/0.8227, allocations: 53.47 kB / 0.7489 GB, free: 6.098 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8228, allocations: 10.81 kB / 0.7489 GB, free: 6.09 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8228, allocations: 4 kB / 0.7489 GB, free: 6.086 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.8228, allocations: 0 / 0.7489 GB, free: 6.086 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.8228, allocations: 8.625 kB / 0.7489 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8229, allocations: 0 / 0.7489 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.8229, allocations: 4 kB / 0.7489 GB, free: 6.074 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.8229, allocations: 3.953 kB / 0.7489 GB, free: 6.07 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 (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 7.46e-05/0.823, allocations: 109.8 kB / 0.749 GB, free: 5.953 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.823, allocations: 4 kB / 0.749 GB, free: 5.949 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.8231, allocations: 69.95 kB / 0.7491 GB, free: 5.883 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8231, allocations: 3.984 kB / 0.7491 GB, free: 5.879 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8232, allocations: 0 / 0.7491 GB, free: 5.879 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8232, allocations: 3.984 kB / 0.7491 GB, free: 5.875 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.8233, allocations: 169.3 kB / 0.7492 GB, free: 5.672 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8233, allocations: 0 / 0.7492 GB, free: 5.672 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.8234, allocations: 11.94 kB / 0.7493 GB, free: 5.66 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8234, allocations: 0 / 0.7493 GB, free: 5.66 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.8234, allocations: 3.938 kB / 0.7493 GB, free: 5.656 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8234, allocations: 4 kB / 0.7493 GB, free: 5.652 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8234, allocations: 4 kB / 0.7493 GB, free: 5.648 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.8235, allocations: 104.2 kB / 0.7494 GB, free: 5.543 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.8236, allocations: 77.11 kB / 0.7494 GB, free: 5.449 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.8236, allocations: 0 / 0.7494 GB, free: 5.449 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.8236, allocations: 0 / 0.7494 GB, free: 5.449 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.8236, allocations: 8.016 kB / 0.7494 GB, free: 5.441 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.8237, allocations: 3.875 kB / 0.7494 GB, free: 5.441 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.8237, allocations: 87.28 kB / 0.7495 GB, free: 5.355 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8237, allocations: 0 / 0.7495 GB, free: 5.355 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002103/0.8239, allocations: 15.94 kB / 0.7495 GB, free: 5.34 MB / 0.5107 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 () * Number of clocked 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.0004167/0.8243, allocations: 0.6469 MB / 0.7502 GB, free: 4.684 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 7.63e-05/0.8244, allocations: 23.86 kB / 0.7502 GB, free: 4.664 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8244, allocations: 4.156 kB / 0.7502 GB, free: 4.66 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.8245, allocations: 19.86 kB / 0.7502 GB, free: 4.645 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.159e-05/0.8246, allocations: 4 kB / 0.7502 GB, free: 4.641 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.8251, allocations: 382.5 kB / 0.7506 GB, free: 4.23 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.8254, allocations: 0.6926 MB / 0.7513 GB, free: 3.512 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.8255, allocations: 0.7031 kB / 0.7513 GB, free: 3.512 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.8255, allocations: 15.06 kB / 0.7513 GB, free: 3.5 MB / 0.5107 GB Notification: Performance of SimCode: time 5.01e-07/0.8255, allocations: 0 / 0.7513 GB, free: 3.5 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.8378, allocations: 1.21 MB / 0.7525 GB, free: 2.469 MB / 0.5107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.8381, allocations: 205.8 kB / 0.7527 GB, free: 2.223 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.309, allocations: 4 kB / 0.7527 GB, free: 2.219 MB / 0.5107 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