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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_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_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.001054/0.001054, allocations: 180.6 kB / 16.39 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.21/1.21, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0009239/0.0009239, allocations: 89.98 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.6976/0.6976, allocations: 120.5 MB / 463.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.00027, allocations: 11.38 kB / 0.5433 GB, free: 42.47 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 82.85 MB / 0.6242 GB, free: 9.238 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5837/0.7122, allocations: 125.2 MB / 0.7465 GB, free: 8.57 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001277/0.7124, allocations: 50.03 kB / 0.7465 GB, free: 8.547 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.002076/0.7145, allocations: 0.7657 MB / 0.7473 GB, free: 7.855 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7145, allocations: 4 kB / 0.7473 GB, free: 7.852 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.7145, allocations: 0 / 0.7473 GB, free: 7.852 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.0002496/0.7148, allocations: 331 kB / 0.7476 GB, free: 7.484 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7148, allocations: 8.031 kB / 0.7476 GB, free: 7.477 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.7148, allocations: 3.953 kB / 0.7476 GB, free: 7.473 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.7149, allocations: 167.7 kB / 0.7478 GB, free: 7.27 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.715, allocations: 3.938 kB / 0.7478 GB, free: 7.266 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.715, allocations: 0 / 0.7478 GB, free: 7.266 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.779e-05/0.7151, allocations: 37.44 kB / 0.7478 GB, free: 7.227 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.7151, allocations: 7.984 kB / 0.7478 GB, free: 7.219 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.7151, allocations: 0 / 0.7478 GB, free: 7.219 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7151, allocations: 7.953 kB / 0.7478 GB, free: 7.211 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.7152, allocations: 7.938 kB / 0.7478 GB, free: 7.203 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.7153, allocations: 157.5 kB / 0.748 GB, free: 7.004 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.7155, allocations: 50.3 kB / 0.748 GB, free: 6.953 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.7155, allocations: 0 / 0.748 GB, free: 6.953 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.7155, allocations: 34.56 kB / 0.7481 GB, free: 6.91 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.7155, allocations: 0 / 0.7481 GB, free: 6.91 MB / 0.5107 GB Notification: Performance of matching and sorting (n=3): time 0.0001245/0.7157, allocations: 53.2 kB / 0.7481 GB, free: 6.855 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.7157, allocations: 51.41 kB / 0.7482 GB, free: 6.793 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.7158, allocations: 89 kB / 0.7483 GB, free: 6.699 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.7158, allocations: 29.52 kB / 0.7483 GB, free: 6.668 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.7158, allocations: 80.14 kB / 0.7484 GB, free: 6.586 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.7158, allocations: 15.91 kB / 0.7484 GB, free: 6.57 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.7158, allocations: 0 / 0.7484 GB, free: 6.57 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.7159, allocations: 326.7 kB / 0.7487 GB, free: 6.246 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.716, allocations: 0 / 0.7487 GB, free: 6.246 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.716, allocations: 4 kB / 0.7487 GB, free: 6.242 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.716, allocations: 7.938 kB / 0.7487 GB, free: 6.238 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.716, allocations: 3.984 kB / 0.7487 GB, free: 6.234 MB / 0.5107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.856e-05/0.7161, allocations: 49.06 kB / 0.7487 GB, free: 6.184 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7161, allocations: 7.125 kB / 0.7488 GB, free: 6.18 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.7161, allocations: 0 / 0.7488 GB, free: 6.18 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.7161, allocations: 4 kB / 0.7488 GB, free: 6.176 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.7162, allocations: 11.94 kB / 0.7488 GB, free: 6.168 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.7162, allocations: 0 / 0.7488 GB, free: 6.168 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.7162, allocations: 3.906 kB / 0.7488 GB, free: 6.164 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.7162, allocations: 4 kB / 0.7488 GB, free: 6.16 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 6.543e-05/0.7163, allocations: 113.7 kB / 0.7489 GB, free: 6.039 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.7163, allocations: 0 / 0.7489 GB, free: 6.039 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.7164, allocations: 72.8 kB / 0.749 GB, free: 5.969 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7165, allocations: 4 kB / 0.749 GB, free: 5.965 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.7165, allocations: 0 / 0.749 GB, free: 5.965 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7165, allocations: 0 / 0.749 GB, free: 5.965 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.7166, allocations: 168.4 kB / 0.7491 GB, free: 5.762 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7166, allocations: 7.984 kB / 0.7491 GB, free: 5.754 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.7166, allocations: 8 kB / 0.7491 GB, free: 5.746 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7167, allocations: 0 / 0.7491 GB, free: 5.746 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.7167, allocations: 0 / 0.7491 GB, free: 5.746 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7167, allocations: 3.938 kB / 0.7491 GB, free: 5.742 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7167, allocations: 3.938 kB / 0.7491 GB, free: 5.738 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.7168, allocations: 108.2 kB / 0.7492 GB, free: 5.629 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.7169, allocations: 81.47 kB / 0.7493 GB, free: 5.531 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.7169, allocations: 0 / 0.7493 GB, free: 5.531 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.7169, allocations: 3.938 kB / 0.7493 GB, free: 5.527 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.7169, allocations: 7.938 kB / 0.7493 GB, free: 5.523 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.7169, allocations: 7.969 kB / 0.7493 GB, free: 5.516 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.717, allocations: 79.34 kB / 0.7494 GB, free: 5.438 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.4e-07/0.717, allocations: 4 kB / 0.7494 GB, free: 5.434 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001828/0.7172, allocations: 11.94 kB / 0.7494 GB, free: 5.422 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.0001182/0.7173, allocations: 107.1 kB / 0.7495 GB, free: 5.312 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.7174, allocations: 23.81 kB / 0.7496 GB, free: 5.293 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.7174, allocations: 0 / 0.7496 GB, free: 5.293 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.7174, allocations: 19.86 kB / 0.7496 GB, free: 5.277 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.538e-05/0.7175, allocations: 3.953 kB / 0.7496 GB, free: 5.273 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.7178, allocations: 140.2 kB / 0.7497 GB, free: 5.109 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.718, allocations: 0.6848 MB / 0.7504 GB, free: 4.398 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.718, allocations: 7.984 kB / 0.7504 GB, free: 4.391 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.718, allocations: 11.44 kB / 0.7504 GB, free: 4.379 MB / 0.5107 GB Notification: Performance of SimCode: time 2.2e-07/0.718, allocations: 0 / 0.7504 GB, free: 4.379 MB / 0.5107 GB Notification: Performance of Templates: time 0.002019/0.7201, allocations: 0.5061 MB / 0.7509 GB, free: 3.895 MB / 0.5107 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches