Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 91.73 kB / 16.3 MB, free: 6.453 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.001286/0.001286, allocations: 185.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9038/0.9038, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 11.98 kB / 0.4942 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 82.85 MB / 0.5751 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.000487/0.1741, allocations: 114.5 kB / 0.5752 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000166/0.1743, allocations: 19.94 kB / 0.5752 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.1743, allocations: 0 / 0.5752 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.046e-05/0.1743, allocations: 0 / 0.5752 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.1744, allocations: 0 / 0.5752 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.1745, allocations: 15.97 kB / 0.5752 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.734e-05/0.1746, allocations: 0 / 0.5752 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.1746, allocations: 4 kB / 0.5752 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.1747, allocations: 0 / 0.5752 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.1747, allocations: 7.938 kB / 0.5752 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1747, allocations: 0 / 0.5752 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.1748, allocations: 11.98 kB / 0.5752 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.1748, allocations: 4 kB / 0.5752 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.1748, allocations: 25.7 kB / 0.5753 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.279e-05/0.1749, allocations: 7.922 kB / 0.5753 GB, free: 7.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1749, allocations: 4 kB / 0.5753 GB, free: 7.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1749, allocations: 0 / 0.5753 GB, free: 7.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1749, allocations: 0 / 0.5753 GB, free: 7.926 MB / 446.1 MB 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.0002778/0.1752, allocations: 311.4 kB / 0.5756 GB, free: 7.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1753, allocations: 16.09 kB / 0.5756 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.1753, allocations: 7.891 kB / 0.5756 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.1754, allocations: 159.1 kB / 0.5757 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1754, allocations: 0 / 0.5757 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.1754, allocations: 0 / 0.5757 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.49e-05/0.1755, allocations: 37.69 kB / 0.5758 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.1755, allocations: 0 / 0.5758 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1755, allocations: 0 / 0.5758 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1756, allocations: 3.938 kB / 0.5758 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.1756, allocations: 7.953 kB / 0.5758 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.1758, allocations: 157.7 kB / 0.5759 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.1758, allocations: 18.58 kB / 0.5759 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.176, allocations: 85.16 kB / 0.576 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1761, allocations: 34.56 kB / 0.5761 GB, free: 6.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1761, allocations: 0 / 0.5761 GB, free: 6.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.1762, allocations: 45.64 kB / 0.5761 GB, free: 6.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1763, allocations: 51.41 kB / 0.5762 GB, free: 6.812 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.742e-05/0.1763, allocations: 89.86 kB / 0.5762 GB, free: 6.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1763, allocations: 29.69 kB / 0.5763 GB, free: 6.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.1764, allocations: 80.14 kB / 0.5763 GB, free: 6.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1764, allocations: 7.906 kB / 0.5764 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.1764, allocations: 0 / 0.5764 GB, free: 6.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1766, allocations: 318.8 kB / 0.5767 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.1766, allocations: 4.125 kB / 0.5767 GB, free: 6.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/0.1766, allocations: 4 kB / 0.5767 GB, free: 6.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.1766, allocations: 0 / 0.5767 GB, free: 6.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1766, allocations: 0 / 0.5767 GB, free: 6.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.291e-05/0.1767, allocations: 45.62 kB / 0.5767 GB, free: 6.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1767, allocations: 4 kB / 0.5767 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1767, allocations: 4 kB / 0.5767 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1768, allocations: 0 / 0.5767 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.1768, allocations: 0 / 0.5767 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.1768, allocations: 8.078 kB / 0.5767 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.1769, allocations: 4.281 kB / 0.5767 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1769, allocations: 0 / 0.5767 GB, free: 6.191 MB / 446.1 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 (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 7.592e-05/0.1769, allocations: 109.8 kB / 0.5768 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.177, allocations: 0 / 0.5768 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1771, allocations: 60.56 kB / 0.5769 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1771, allocations: 0 / 0.5769 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1771, allocations: 0 / 0.5769 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1771, allocations: 8.031 kB / 0.5769 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1772, allocations: 157.5 kB / 0.577 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1772, allocations: 4 kB / 0.5771 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.1773, allocations: 4 kB / 0.5771 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1773, allocations: 0 / 0.5771 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1773, allocations: 0 / 0.5771 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1773, allocations: 0 / 0.5771 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1773, allocations: 3.984 kB / 0.5771 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.677e-05/0.1774, allocations: 73.08 kB / 0.5771 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.1774, allocations: 77.11 kB / 0.5772 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.1774, allocations: 0 / 0.5772 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.1775, allocations: 0 / 0.5772 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.1775, allocations: 0 / 0.5772 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1775, allocations: 4 kB / 0.5772 GB, free: 5.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.1775, allocations: 79.22 kB / 0.5773 GB, free: 5.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1775, allocations: 0 / 0.5773 GB, free: 5.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1777, allocations: 0 / 0.5773 GB, free: 5.516 MB / 446.1 MB 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.000127/0.1779, allocations: 103.3 kB / 0.5774 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.178, allocations: 12 kB / 0.5774 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.178, allocations: 0 / 0.5774 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.819e-06/0.178, allocations: 4 kB / 0.5774 GB, free: 5.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.304e-05/0.1781, allocations: 3.953 kB / 0.5774 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.1783, allocations: 90.69 kB / 0.5775 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1785, allocations: 0.6731 MB / 0.5781 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.55e-05/0.1786, allocations: 12.05 kB / 0.5782 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.1786, allocations: 7.438 kB / 0.5782 GB, free: 4.547 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1786, allocations: 0 / 0.5782 GB, free: 4.547 MB / 446.1 MB Notification: Performance of Templates: time 0.002068/0.1807, allocations: 265.9 kB / 0.5784 GB, free: 4.293 MB / 446.1 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches