Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001478/0.001487, allocations: 106.3 kB / 17.74 MB, free: 5.352 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.00171/0.001711, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9931/0.9931, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 65.95 kB / 0.573 GB, free: 38.87 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1704, allocations: 80.68 MB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.003304/0.1738, allocations: 1.39 MB / 0.6532 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.1748, allocations: 0.5145 MB / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.1748, allocations: 0 / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.112e-05/0.1749, allocations: 11.92 kB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1752, allocations: 55.73 kB / 0.6538 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.1754, allocations: 39.88 kB / 0.6538 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.1759, allocations: 0.5537 MB / 0.6543 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.1759, allocations: 8.188 kB / 0.6543 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.1762, allocations: 199.7 kB / 0.6545 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.1766, allocations: 279.4 kB / 0.6548 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.1767, allocations: 28 kB / 0.6548 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1769, allocations: 59.97 kB / 0.6549 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.1771, allocations: 231.5 kB / 0.6551 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.1774, allocations: 234.8 kB / 0.6553 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.1778, allocations: 442.2 kB / 0.6557 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1778, allocations: 0 / 0.6557 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1779, allocations: 0 / 0.6557 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.1779, allocations: 0 / 0.6557 GB, free: 7.559 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.001766/0.1796, allocations: 0.8304 MB / 0.6566 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1797, allocations: 11.89 kB / 0.6566 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1798, allocations: 48.66 kB / 0.6566 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.1802, allocations: 331.7 kB / 0.6569 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1803, allocations: 29 kB / 0.657 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1804, allocations: 63.89 kB / 0.657 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.1813, allocations: 0.588 MB / 0.6576 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1813, allocations: 0 / 0.6576 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.1814, allocations: 23.94 kB / 0.6576 GB, free: 5.547 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1814, allocations: 8 kB / 0.6576 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.1823, allocations: 0.5816 MB / 0.6582 GB, free: 4.957 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.1831, allocations: 0.614 MB / 0.6588 GB, free: 4.297 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/0.1863, allocations: 1.364 MB / 0.6601 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.187, allocations: 459.6 kB / 0.6606 GB, free: 2.473 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.1873, allocations: 106.1 kB / 0.6607 GB, free: 2.352 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1873, allocations: 43.56 kB / 0.6607 GB, free: 2.301 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.1873, allocations: 0 / 0.6607 GB, free: 2.301 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002183/0.1895, allocations: 1.351 MB / 0.662 GB, free: 0.9453 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.1896, allocations: 64.41 kB / 0.6621 GB, free: 0.8672 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1897, allocations: 170.7 kB / 0.6623 GB, free: 0.6914 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.1898, allocations: 41.7 kB / 0.6623 GB, free: 0.6445 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.1899, allocations: 106.1 kB / 0.6624 GB, free: 0.5352 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.1902, allocations: 428.4 kB / 0.6628 GB, free: 116 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.1905, allocations: 202.9 kB / 0.663 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1906, allocations: 370.7 kB / 0.6633 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/0.1913, allocations: 474.3 kB / 0.6638 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/0.1921, allocations: 491.5 kB / 0.6643 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.1936, allocations: 1.036 MB / 0.6653 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1936, allocations: 0 / 0.6653 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001947/0.1955, allocations: 1.25 MB / 0.6665 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1956, allocations: 4 kB / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1956, allocations: 0 / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.1956, allocations: 4 kB / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.1967, allocations: 271.7 kB / 0.6668 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.1967, allocations: 7.938 kB / 0.6668 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.197, allocations: 79.41 kB / 0.6669 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.1971, allocations: 39.98 kB / 0.6669 GB, free: 11.9 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.0002535/0.1974, allocations: 210.4 kB / 0.6671 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.1975, allocations: 47.72 kB / 0.6671 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.1997, allocations: 1.396 MB / 0.6685 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.1998, allocations: 7.969 kB / 0.6685 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1998, allocations: 0 / 0.6685 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.2001, allocations: 252.2 kB / 0.6687 GB, free: 9.965 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.2002, allocations: 47.98 kB / 0.6688 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.2006, allocations: 27.94 kB / 0.6688 GB, free: 9.891 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.2007, allocations: 89.17 kB / 0.6689 GB, free: 9.801 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003461/0.2042, allocations: 1.618 MB / 0.6705 GB, free: 8.176 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002996/0.2072, allocations: 2.134 MB / 0.6726 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008358/0.2081, allocations: 0.6151 MB / 0.6732 GB, free: 5.41 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.000115/0.2082, allocations: 136.2 kB / 0.6733 GB, free: 5.277 MB / 0.5139 GB Notification: Performance of Backend: time 4.31e-07/0.2082, allocations: 0 / 0.6733 GB, free: 5.277 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.2097, allocations: 0.8097 MB / 0.6741 GB, free: 4.465 MB / 0.5139 GB Notification: Performance of SimCode: time 0.003084/0.2128, allocations: 2.844 MB / 0.6769 GB, free: 1.562 MB / 0.5139 GB Notification: Performance of Templates: time 0.02023/0.2331, allocations: 11.89 MB / 0.6885 GB, free: 5.695 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches