Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, 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.284/1.284, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008803/0.0008807, allocations: 98.03 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7131/0.7131, allocations: 120.5 MB / 463.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003087, allocations: 12 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 82.84 MB / 0.6242 GB, free: 9.238 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.606/0.7406, allocations: 125.2 MB / 0.7465 GB, free: 8.887 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001026/0.7408, allocations: 46.98 kB / 0.7465 GB, free: 8.867 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.001212/0.742, allocations: 0.5519 MB / 0.747 GB, free: 8.352 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.084e-06/0.742, allocations: 0 / 0.747 GB, free: 8.352 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7421, allocations: 0 / 0.747 GB, free: 8.352 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002324/0.7423, allocations: 318 kB / 0.7473 GB, free: 8 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.7423, allocations: 11.97 kB / 0.7474 GB, free: 7.988 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.7424, allocations: 7.953 kB / 0.7474 GB, free: 7.98 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.7425, allocations: 167 kB / 0.7475 GB, free: 7.777 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.7425, allocations: 0 / 0.7475 GB, free: 7.777 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.7425, allocations: 1.375 kB / 0.7475 GB, free: 7.777 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.518e-05/0.7426, allocations: 29.7 kB / 0.7475 GB, free: 7.742 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.7426, allocations: 0 / 0.7475 GB, free: 7.742 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.7426, allocations: 4 kB / 0.7476 GB, free: 7.738 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.7426, allocations: 3.953 kB / 0.7476 GB, free: 7.734 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.7427, allocations: 7.625 kB / 0.7476 GB, free: 7.73 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.7428, allocations: 149.6 kB / 0.7477 GB, free: 7.535 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/0.7429, allocations: 26.36 kB / 0.7477 GB, free: 7.504 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.743, allocations: 85.16 kB / 0.7478 GB, free: 7.402 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.7431, allocations: 34.56 kB / 0.7478 GB, free: 7.359 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.7431, allocations: 0 / 0.7478 GB, free: 7.359 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2): time 0.0001176/0.7432, allocations: 41.14 kB / 0.7479 GB, free: 7.316 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.7432, allocations: 55.41 kB / 0.7479 GB, free: 7.25 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.902e-05/0.7433, allocations: 85 kB / 0.748 GB, free: 7.16 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.7433, allocations: 25.7 kB / 0.748 GB, free: 7.129 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.7433, allocations: 84.12 kB / 0.7481 GB, free: 7.043 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.7433, allocations: 4.531 kB / 0.7481 GB, free: 7.039 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.7434, allocations: 8.062 kB / 0.7481 GB, free: 7.031 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.7435, allocations: 318.2 kB / 0.7484 GB, free: 6.715 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.7435, allocations: 4 kB / 0.7484 GB, free: 6.711 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.7435, allocations: 0 / 0.7484 GB, free: 6.711 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.815e-05/0.7435, allocations: 4 kB / 0.7484 GB, free: 6.707 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7435, allocations: 0 / 0.7484 GB, free: 6.707 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.148e-05/0.7436, allocations: 40.88 kB / 0.7485 GB, free: 6.664 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7436, allocations: 6.812 kB / 0.7485 GB, free: 6.66 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7436, allocations: 4.094 kB / 0.7485 GB, free: 6.656 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.7436, allocations: 0 / 0.7485 GB, free: 6.656 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.7437, allocations: 7.938 kB / 0.7485 GB, free: 6.648 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7437, allocations: 0 / 0.7485 GB, free: 6.648 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.7437, allocations: 0 / 0.7485 GB, free: 6.648 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.7437, allocations: 4 kB / 0.7485 GB, free: 6.645 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 (2): * Single equations (assignments): 2 * 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 5.986e-05/0.7438, allocations: 113.2 kB / 0.7486 GB, free: 6.527 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.7438, allocations: 0 / 0.7486 GB, free: 6.527 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.7439, allocations: 48.12 kB / 0.7487 GB, free: 6.477 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7439, allocations: 0 / 0.7487 GB, free: 6.477 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7439, allocations: 0 / 0.7487 GB, free: 6.477 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.7439, allocations: 3.938 kB / 0.7487 GB, free: 6.477 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.366e-05/0.744, allocations: 153.6 kB / 0.7488 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.744, allocations: 3.938 kB / 0.7488 GB, free: 6.273 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.744, allocations: 4 kB / 0.7488 GB, free: 6.27 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.744, allocations: 0 / 0.7488 GB, free: 6.27 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.744, allocations: 0 / 0.7488 GB, free: 6.27 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7441, allocations: 3.938 kB / 0.7488 GB, free: 6.266 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7441, allocations: 0 / 0.7488 GB, free: 6.266 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.829e-05/0.7441, allocations: 72.42 kB / 0.7489 GB, free: 6.184 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.7442, allocations: 88.95 kB / 0.749 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-06/0.7442, allocations: 0 / 0.749 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.7442, allocations: 0 / 0.749 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.7442, allocations: 0 / 0.749 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.7442, allocations: 0 / 0.749 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.7443, allocations: 75.28 kB / 0.749 GB, free: 6.004 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7443, allocations: 8.031 kB / 0.7491 GB, free: 5.996 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001773/0.7444, allocations: 0 / 0.7491 GB, free: 5.996 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001006/0.7445, allocations: 103.2 kB / 0.7492 GB, free: 5.887 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.7446, allocations: 15 kB / 0.7492 GB, free: 5.875 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7446, allocations: 0 / 0.7492 GB, free: 5.875 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.7446, allocations: 4 kB / 0.7492 GB, free: 5.871 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.109e-05/0.7447, allocations: 3.953 kB / 0.7492 GB, free: 5.867 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.7449, allocations: 87.19 kB / 0.7493 GB, free: 5.758 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.7451, allocations: 0.6692 MB / 0.7499 GB, free: 5.062 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.7452, allocations: 7.984 kB / 0.7499 GB, free: 5.055 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.7452, allocations: 7.438 kB / 0.7499 GB, free: 5.047 MB / 0.5107 GB Notification: Performance of SimCode: time 4.1e-07/0.7452, allocations: 0 / 0.7499 GB, free: 5.047 MB / 0.5107 GB Notification: Performance of Templates: time 0.001781/0.747, allocations: 270.5 kB / 0.7502 GB, free: 4.797 MB / 0.5107 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches