Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 113 kB / 17.74 MB, free: 5.344 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.00138/0.00138, allocations: 187.8 kB / 18.67 MB, free: 4.422 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.259/1.259, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9466/0.9466, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 69.22 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1656, allocations: 80.69 MB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002842/0.1685, allocations: 1.382 MB / 0.6532 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1696, allocations: 0.5185 MB / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.1697, allocations: 0 / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.1698, allocations: 7.938 kB / 0.6537 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1702, allocations: 63.72 kB / 0.6537 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.1704, allocations: 35.89 kB / 0.6538 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.1709, allocations: 0.546 MB / 0.6543 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.171, allocations: 8.125 kB / 0.6543 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.1713, allocations: 199.7 kB / 0.6545 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.1719, allocations: 287.4 kB / 0.6548 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.172, allocations: 32 kB / 0.6548 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.1722, allocations: 47.98 kB / 0.6549 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.1725, allocations: 235.5 kB / 0.6551 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.1728, allocations: 230.9 kB / 0.6553 GB, free: 8 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.1733, allocations: 446.4 kB / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1733, allocations: 4 kB / 0.6557 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1733, allocations: 0 / 0.6557 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.1733, allocations: 4 kB / 0.6557 GB, free: 7.555 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001912/0.1752, allocations: 0.8115 MB / 0.6565 GB, free: 6.691 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1753, allocations: 11.89 kB / 0.6565 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.1755, allocations: 44.47 kB / 0.6566 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.1759, allocations: 335.5 kB / 0.6569 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.1759, allocations: 33 kB / 0.6569 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1761, allocations: 63.8 kB / 0.657 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.177, allocations: 0.588 MB / 0.6576 GB, free: 5.582 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.177, allocations: 0 / 0.6576 GB, free: 5.582 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.1771, allocations: 16 kB / 0.6576 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1771, allocations: 8 kB / 0.6576 GB, free: 5.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.1779, allocations: 0.5854 MB / 0.6582 GB, free: 4.973 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.1787, allocations: 0.6216 MB / 0.6588 GB, free: 4.305 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.1818, allocations: 1.364 MB / 0.6601 GB, free: 2.934 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.1825, allocations: 459.5 kB / 0.6605 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.1827, allocations: 106.1 kB / 0.6606 GB, free: 2.359 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1827, allocations: 43.56 kB / 0.6607 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.304e-06/0.1827, allocations: 0 / 0.6607 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002046/0.1848, allocations: 1.35 MB / 0.662 GB, free: 0.9531 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1848, allocations: 60.41 kB / 0.6621 GB, free: 0.8789 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.185, allocations: 170.7 kB / 0.6622 GB, free: 0.7031 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.185, allocations: 45.7 kB / 0.6623 GB, free: 0.6523 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.1851, allocations: 110.1 kB / 0.6624 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.1854, allocations: 402.2 kB / 0.6628 GB, free: 144 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.1856, allocations: 195 kB / 0.6629 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1858, allocations: 370.7 kB / 0.6633 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.1865, allocations: 470.3 kB / 0.6638 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.1871, allocations: 491.5 kB / 0.6642 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.1886, allocations: 1.044 MB / 0.6652 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1886, allocations: 4 kB / 0.6652 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001687/0.1903, allocations: 1.242 MB / 0.6665 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1903, allocations: 4 kB / 0.6665 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1903, allocations: 4 kB / 0.6665 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1903, allocations: 4 kB / 0.6665 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009923/0.1913, allocations: 271.7 kB / 0.6667 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1914, allocations: 4 kB / 0.6667 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.1917, allocations: 71.12 kB / 0.6668 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.1918, allocations: 43.98 kB / 0.6668 GB, free: 11.93 MB / 0.5139 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.192, allocations: 218.3 kB / 0.667 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/0.1921, allocations: 43.53 kB / 0.6671 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.1943, allocations: 1.384 MB / 0.6684 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.1943, allocations: 16 kB / 0.6685 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.1943, allocations: 0 / 0.6685 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.1944, allocations: 3.984 kB / 0.6685 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008477/0.1952, allocations: 0.7503 MB / 0.6692 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1952, allocations: 0 / 0.6692 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.1966, allocations: 307.6 kB / 0.6695 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1966, allocations: 4 kB / 0.6695 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.153e-05/0.1967, allocations: 51.95 kB / 0.6695 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.1967, allocations: 7.938 kB / 0.6695 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1967, allocations: 4 kB / 0.6696 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.1992, allocations: 1.85 MB / 0.6714 GB, free: 7.227 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.1995, allocations: 255.9 kB / 0.6716 GB, free: 6.957 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1996, allocations: 43.97 kB / 0.6716 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.1999, allocations: 28 kB / 0.6717 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2001, allocations: 77.2 kB / 0.6717 GB, free: 6.809 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.2002, allocations: 43.97 kB / 0.6718 GB, free: 6.766 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.895e-05/0.2003, allocations: 140.3 kB / 0.6719 GB, free: 6.629 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2003, allocations: 0 / 0.6719 GB, free: 6.629 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004727/0.2007, allocations: 236 kB / 0.6721 GB, free: 6.398 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002386/0.201, allocations: 159 kB / 0.6723 GB, free: 6.234 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.2026, allocations: 1.155 MB / 0.6734 GB, free: 5.078 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2026, allocations: 0 / 0.6734 GB, free: 5.078 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.2034, allocations: 0.6319 MB / 0.674 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.2038, allocations: 107.9 kB / 0.6741 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.2075, allocations: 2.861 MB / 0.6769 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.208, allocations: 0.9229 MB / 0.6778 GB, free: 0.4961 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.2084, allocations: 91.41 kB / 0.6779 GB, free: 416 kB / 0.5139 GB Notification: Performance of SimCode: time 2.21e-07/0.2084, allocations: 4 kB / 0.6779 GB, free: 412 kB / 0.5139 GB Notification: Performance of Templates: time 0.01191/0.2203, allocations: 9.556 MB / 0.6873 GB, free: 6.863 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches