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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 109.4 kB / 16.92 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.392/2.392, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.528/1.528, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 67.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8105, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.002261/0.8128, allocations: 421.1 kB / 0.5702 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.8134, allocations: 211.7 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.8135, allocations: 0 / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.8135, allocations: 0 / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.8137, allocations: 7.922 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.8139, allocations: 28.09 kB / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.814, allocations: 8.188 kB / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.328e-05/0.8141, allocations: 2.438 kB / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.8141, allocations: 9.547 kB / 0.5705 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.8142, allocations: 6.906 kB / 0.5705 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.8142, allocations: 1.344 kB / 0.5705 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.8143, allocations: 19.45 kB / 0.5705 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.8144, allocations: 9.188 kB / 0.5705 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.8144, allocations: 5.094 kB / 0.5705 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.8145, allocations: 29.02 kB / 0.5706 GB, free: 42.84 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8145, allocations: 0 / 0.5706 GB, free: 42.84 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.597e-06/0.8146, allocations: 5.531 kB / 0.5706 GB, free: 42.83 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.8146, allocations: 0 / 0.5706 GB, free: 42.83 MB / 462.3 MB 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.0003999/0.815, allocations: 322.6 kB / 0.5709 GB, free: 42.47 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.8151, allocations: 12.86 kB / 0.5709 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.8151, allocations: 32.22 kB / 0.5709 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.8151, allocations: 8.828 kB / 0.5709 GB, free: 42.42 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.8153, allocations: 163.9 kB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.8153, allocations: 1.875 kB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.8153, allocations: 1.625 kB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.8154, allocations: 42.34 kB / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.8154, allocations: 3.938 kB / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.8155, allocations: 1.406 kB / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.8155, allocations: 3.984 kB / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.8155, allocations: 13.42 kB / 0.5711 GB, free: 42.17 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.8157, allocations: 148.3 kB / 0.5713 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.816, allocations: 44.41 kB / 0.5713 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.816, allocations: 15.61 kB / 0.5713 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.8161, allocations: 5.359 kB / 0.5714 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.8161, allocations: 31.94 kB / 0.5714 GB, free: 41.88 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.8161, allocations: 3.938 kB / 0.5714 GB, free: 41.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001989/0.8163, allocations: 55.41 kB / 0.5714 GB, free: 41.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.8164, allocations: 51.41 kB / 0.5715 GB, free: 41.77 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.8164, allocations: 100.6 kB / 0.5716 GB, free: 41.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8164, allocations: 31.2 kB / 0.5716 GB, free: 41.63 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.649e-05/0.8165, allocations: 80.14 kB / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.8165, allocations: 9.188 kB / 0.5717 GB, free: 41.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.8166, allocations: 17.84 kB / 0.5717 GB, free: 41.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.8166, allocations: 316.2 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.8167, allocations: 6.75 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.8167, allocations: 4.125 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.8168, allocations: 25.03 kB / 0.5721 GB, free: 41.18 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8168, allocations: 5.312 kB / 0.5721 GB, free: 41.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001209/0.8169, allocations: 51.44 kB / 0.5721 GB, free: 41.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.8169, allocations: 9.438 kB / 0.5721 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.817, allocations: 0 / 0.5721 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.817, allocations: 0 / 0.5721 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.8171, allocations: 10.88 kB / 0.5721 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8171, allocations: 0 / 0.5721 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.8171, allocations: 3.938 kB / 0.5721 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.8171, allocations: 1.375 kB / 0.5721 GB, free: 41.12 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.8172, allocations: 113.1 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.8172, allocations: 7.938 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.8174, allocations: 73.75 kB / 0.5723 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8175, allocations: 1.375 kB / 0.5723 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/0.8175, allocations: 3.984 kB / 0.5723 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.8175, allocations: 1.375 kB / 0.5723 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.8176, allocations: 159.5 kB / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8176, allocations: 0.9688 kB / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.8177, allocations: 11.75 kB / 0.5725 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8177, allocations: 9.219 kB / 0.5725 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.8178, allocations: 0.9375 kB / 0.5725 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.8178, allocations: 0 / 0.5725 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8178, allocations: 0.9688 kB / 0.5725 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.818, allocations: 101.7 kB / 0.5726 GB, free: 40.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.818, allocations: 78.47 kB / 0.5727 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.8181, allocations: 5.156 kB / 0.5727 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.8181, allocations: 0 / 0.5727 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.8181, allocations: 10.14 kB / 0.5727 GB, free: 40.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.8181, allocations: 6.172 kB / 0.5727 GB, free: 40.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.154e-05/0.8182, allocations: 77.59 kB / 0.5728 GB, free: 40.44 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8182, allocations: 0 / 0.5728 GB, free: 40.44 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004081/0.8186, allocations: 14.38 kB / 0.5728 GB, free: 40.43 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004138/0.819, allocations: 0.6492 MB / 0.5734 GB, free: 39.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.8192, allocations: 27.61 kB / 0.5734 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8192, allocations: 3.938 kB / 0.5734 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.8192, allocations: 19.97 kB / 0.5735 GB, free: 39.77 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.8195, allocations: 9.391 kB / 0.5735 GB, free: 39.77 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.8206, allocations: 1.11 MB / 0.5746 GB, free: 38.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.8207, allocations: 0.679 MB / 0.5752 GB, free: 37.94 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.8208, allocations: 19.36 kB / 0.5752 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.8208, allocations: 18.55 kB / 0.5753 GB, free: 37.91 MB / 462.3 MB Notification: Performance of SimCode: time 5e-07/0.8208, allocations: 0 / 0.5753 GB, free: 37.91 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/0.9535, allocations: 1.45 MB / 0.5767 GB, free: 37.13 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/17.01, allocations: 9.375 kB / 0.5767 GB, free: 37.12 MB / 462.3 MB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches