Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 180.8 kB / 16.38 MB, free: 5.762 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.282/1.282, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0009684/0.0009683, allocations: 89.45 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7819/0.7819, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 8 kB / 0.5433 GB, free: 42.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 82.83 MB / 0.6242 GB, free: 9.246 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6835/0.8291, allocations: 125.2 MB / 0.7465 GB, free: 8.777 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000149/0.8293, allocations: 47.11 kB / 0.7465 GB, free: 8.758 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.00228/0.8316, allocations: 0.7719 MB / 0.7473 GB, free: 8.062 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8316, allocations: 0 / 0.7473 GB, free: 8.062 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.8316, allocations: 0 / 0.7473 GB, free: 8.062 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.0002976/0.8319, allocations: 336.1 kB / 0.7476 GB, free: 7.695 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.832, allocations: 8.031 kB / 0.7476 GB, free: 7.688 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.832, allocations: 3.953 kB / 0.7476 GB, free: 7.684 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.8321, allocations: 167.7 kB / 0.7478 GB, free: 7.48 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.8322, allocations: 7.938 kB / 0.7478 GB, free: 7.473 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.8322, allocations: 0 / 0.7478 GB, free: 7.473 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.8323, allocations: 33.69 kB / 0.7478 GB, free: 7.434 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.8323, allocations: 0 / 0.7478 GB, free: 7.434 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.8323, allocations: 3.312 kB / 0.7478 GB, free: 7.434 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.8323, allocations: 7.953 kB / 0.7478 GB, free: 7.426 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.8324, allocations: 7.938 kB / 0.7478 GB, free: 7.418 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.8326, allocations: 158.3 kB / 0.748 GB, free: 7.219 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.8328, allocations: 46.42 kB / 0.748 GB, free: 7.168 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.8328, allocations: 3.938 kB / 0.748 GB, free: 7.164 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.8328, allocations: 34.64 kB / 0.748 GB, free: 7.121 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8328, allocations: 0 / 0.748 GB, free: 7.121 MB / 0.5107 GB Notification: Performance of matching and sorting (n=3): time 0.0001359/0.833, allocations: 53.62 kB / 0.7481 GB, free: 7.07 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.833, allocations: 51.41 kB / 0.7481 GB, free: 7.008 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.8331, allocations: 93 kB / 0.7482 GB, free: 6.91 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.8331, allocations: 25.7 kB / 0.7483 GB, free: 6.879 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.8331, allocations: 80.14 kB / 0.7483 GB, free: 6.797 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.8332, allocations: 19.7 kB / 0.7484 GB, free: 6.781 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.8332, allocations: 0 / 0.7484 GB, free: 6.781 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.8333, allocations: 318.8 kB / 0.7487 GB, free: 6.461 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.8333, allocations: 0 / 0.7487 GB, free: 6.461 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.8333, allocations: 7.875 kB / 0.7487 GB, free: 6.457 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.8333, allocations: 7.984 kB / 0.7487 GB, free: 6.449 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8334, allocations: 4.125 kB / 0.7487 GB, free: 6.445 MB / 0.5107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.151e-05/0.8334, allocations: 53.59 kB / 0.7487 GB, free: 6.395 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8335, allocations: 6.812 kB / 0.7487 GB, free: 6.391 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.8335, allocations: 0 / 0.7487 GB, free: 6.391 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8335, allocations: 4 kB / 0.7487 GB, free: 6.387 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.325e-05/0.8335, allocations: 4.047 kB / 0.7487 GB, free: 6.383 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.8335, allocations: 0 / 0.7487 GB, free: 6.383 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.8336, allocations: 9.391 kB / 0.7488 GB, free: 6.375 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.8336, allocations: 4 kB / 0.7488 GB, free: 6.371 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.087e-05/0.8337, allocations: 121.7 kB / 0.7489 GB, free: 6.242 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.8337, allocations: 3.812 kB / 0.7489 GB, free: 6.242 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.8338, allocations: 64.62 kB / 0.7489 GB, free: 6.18 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.8338, allocations: 4 kB / 0.7489 GB, free: 6.176 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.8338, allocations: 0 / 0.7489 GB, free: 6.176 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8338, allocations: 3.984 kB / 0.7489 GB, free: 6.172 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.834, allocations: 161.5 kB / 0.7491 GB, free: 5.969 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.834, allocations: 4 kB / 0.7491 GB, free: 5.965 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.834, allocations: 8.875 kB / 0.7491 GB, free: 5.957 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.834, allocations: 4 kB / 0.7491 GB, free: 5.953 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.8341, allocations: 0 / 0.7491 GB, free: 5.953 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8341, allocations: 3.938 kB / 0.7491 GB, free: 5.949 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8341, allocations: 0 / 0.7491 GB, free: 5.949 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.8342, allocations: 109 kB / 0.7492 GB, free: 5.84 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.8343, allocations: 81.14 kB / 0.7493 GB, free: 5.742 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.8343, allocations: 128 / 0.7493 GB, free: 5.742 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.8343, allocations: 11.75 kB / 0.7493 GB, free: 5.734 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.8343, allocations: 12.05 kB / 0.7493 GB, free: 5.723 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.8343, allocations: 0 / 0.7493 GB, free: 5.723 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.8344, allocations: 75.28 kB / 0.7494 GB, free: 5.648 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8344, allocations: 4 kB / 0.7494 GB, free: 5.645 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001809/0.8346, allocations: 15.81 kB / 0.7494 GB, free: 5.633 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.0001301/0.8347, allocations: 103.2 kB / 0.7495 GB, free: 5.523 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.8348, allocations: 23.81 kB / 0.7495 GB, free: 5.504 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8348, allocations: 4.094 kB / 0.7495 GB, free: 5.5 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.8348, allocations: 19.86 kB / 0.7496 GB, free: 5.484 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.515e-05/0.8349, allocations: 6.953 kB / 0.7496 GB, free: 5.48 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.8352, allocations: 137 kB / 0.7497 GB, free: 5.32 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.8355, allocations: 0.6887 MB / 0.7504 GB, free: 4.605 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.8355, allocations: 8 kB / 0.7504 GB, free: 4.598 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.8355, allocations: 11.44 kB / 0.7504 GB, free: 4.586 MB / 0.5107 GB Notification: Performance of SimCode: time 3.2e-07/0.8355, allocations: 0 / 0.7504 GB, free: 4.586 MB / 0.5107 GB Notification: Performance of Templates: time 0.002395/0.8379, allocations: 0.4978 MB / 0.7509 GB, free: 4.109 MB / 0.5107 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches