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.001107/0.001107, allocations: 180.5 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.264/1.264, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.00104/0.00104, allocations: 98.14 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8157/0.8157, allocations: 120.4 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004242, allocations: 11.38 kB / 0.5433 GB, free: 42.37 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 82.85 MB / 0.6242 GB, free: 9.223 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6842/0.8346, allocations: 125.2 MB / 0.7465 GB, free: 8.805 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001138/0.8347, allocations: 47.11 kB / 0.7465 GB, free: 8.785 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.002055/0.8368, allocations: 0.7745 MB / 0.7473 GB, free: 8.086 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8368, allocations: 0 / 0.7473 GB, free: 8.086 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.8368, allocations: 0 / 0.7473 GB, free: 8.086 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.0002845/0.8371, allocations: 333.6 kB / 0.7476 GB, free: 7.719 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8372, allocations: 8.031 kB / 0.7476 GB, free: 7.711 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.8372, allocations: 7.938 kB / 0.7476 GB, free: 7.703 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.8373, allocations: 159.7 kB / 0.7478 GB, free: 7.508 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.8373, allocations: 4 kB / 0.7478 GB, free: 7.504 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.8374, allocations: 0 / 0.7478 GB, free: 7.504 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.8375, allocations: 41.5 kB / 0.7478 GB, free: 7.461 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.8375, allocations: 0 / 0.7478 GB, free: 7.461 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.8375, allocations: 4 kB / 0.7478 GB, free: 7.457 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.8375, allocations: 3.953 kB / 0.7478 GB, free: 7.453 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.8375, allocations: 11.98 kB / 0.7478 GB, free: 7.441 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.8377, allocations: 153.5 kB / 0.748 GB, free: 7.246 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.8379, allocations: 50.33 kB / 0.748 GB, free: 7.191 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.8379, allocations: 0 / 0.748 GB, free: 7.191 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.838, allocations: 42.38 kB / 0.7481 GB, free: 7.145 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.838, allocations: 0 / 0.7481 GB, free: 7.145 MB / 0.5107 GB Notification: Performance of matching and sorting (n=3): time 0.0001566/0.8381, allocations: 49.78 kB / 0.7481 GB, free: 7.094 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.8382, allocations: 54.03 kB / 0.7482 GB, free: 7.031 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.402e-05/0.8382, allocations: 85 kB / 0.7482 GB, free: 6.941 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.8383, allocations: 25.7 kB / 0.7483 GB, free: 6.91 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.8383, allocations: 84.14 kB / 0.7484 GB, free: 6.824 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.8383, allocations: 15.64 kB / 0.7484 GB, free: 6.812 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.8383, allocations: 128 / 0.7484 GB, free: 6.812 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.8385, allocations: 318.8 kB / 0.7487 GB, free: 6.492 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.8385, allocations: 11.81 kB / 0.7487 GB, free: 6.484 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.8385, allocations: 7.984 kB / 0.7487 GB, free: 6.477 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.8385, allocations: 7.438 kB / 0.7487 GB, free: 6.473 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8385, allocations: 0 / 0.7487 GB, free: 6.473 MB / 0.5107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.505e-05/0.8386, allocations: 49.19 kB / 0.7487 GB, free: 6.422 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8386, allocations: 4 kB / 0.7487 GB, free: 6.418 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8387, allocations: 3.938 kB / 0.7488 GB, free: 6.418 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.8387, allocations: 0 / 0.7488 GB, free: 6.418 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.484e-05/0.8387, allocations: 12 kB / 0.7488 GB, free: 6.406 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8387, allocations: 0 / 0.7488 GB, free: 6.406 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.8388, allocations: 7.781 kB / 0.7488 GB, free: 6.402 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.8388, allocations: 3.984 kB / 0.7488 GB, free: 6.398 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.329e-05/0.8389, allocations: 117.7 kB / 0.7489 GB, free: 6.273 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.8389, allocations: 0 / 0.7489 GB, free: 6.273 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.839, allocations: 68.92 kB / 0.749 GB, free: 6.207 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.839, allocations: 4 kB / 0.749 GB, free: 6.203 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.839, allocations: 0 / 0.749 GB, free: 6.203 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.839, allocations: 7.938 kB / 0.749 GB, free: 6.195 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.8392, allocations: 157.5 kB / 0.7491 GB, free: 5.996 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8392, allocations: 0 / 0.7491 GB, free: 5.996 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.8392, allocations: 11.94 kB / 0.7491 GB, free: 5.988 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8392, allocations: 4 kB / 0.7491 GB, free: 5.984 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.8393, allocations: 0 / 0.7491 GB, free: 5.984 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8393, allocations: 0 / 0.7491 GB, free: 5.984 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8393, allocations: 0 / 0.7491 GB, free: 5.984 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.8394, allocations: 112.2 kB / 0.7492 GB, free: 5.871 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.8395, allocations: 81.14 kB / 0.7493 GB, free: 5.773 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.8395, allocations: 0 / 0.7493 GB, free: 5.773 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.8395, allocations: 0 / 0.7493 GB, free: 5.773 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.8395, allocations: 3.984 kB / 0.7493 GB, free: 5.77 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.8395, allocations: 4 kB / 0.7493 GB, free: 5.766 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.8396, allocations: 79.09 kB / 0.7494 GB, free: 5.691 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8396, allocations: 3.938 kB / 0.7494 GB, free: 5.688 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001869/0.8398, allocations: 20.09 kB / 0.7494 GB, free: 5.668 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.0001285/0.8399, allocations: 109.4 kB / 0.7495 GB, free: 5.555 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.84, allocations: 32.73 kB / 0.7496 GB, free: 5.531 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.84, allocations: 0 / 0.7496 GB, free: 5.531 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.84, allocations: 12 kB / 0.7496 GB, free: 5.52 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.181e-05/0.8401, allocations: 7.891 kB / 0.7496 GB, free: 5.516 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.8404, allocations: 137.2 kB / 0.7497 GB, free: 5.352 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.8407, allocations: 0.6887 MB / 0.7504 GB, free: 4.637 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.8407, allocations: 4 kB / 0.7504 GB, free: 4.633 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.8407, allocations: 11.38 kB / 0.7504 GB, free: 4.621 MB / 0.5107 GB Notification: Performance of SimCode: time 2.31e-07/0.8407, allocations: 0 / 0.7504 GB, free: 4.621 MB / 0.5107 GB Notification: Performance of Templates: time 0.00222/0.843, allocations: 0.5053 MB / 0.7509 GB, free: 4.137 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/jenkins/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