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.001982/0.001983, allocations: 107 kB / 17.74 MB, free: 5.355 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.002011/0.002011, allocations: 190 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.443/1.443, 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 1.074/1.074, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.42 kB / 0.573 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 80.69 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00263/0.1613, allocations: 1.386 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1623, allocations: 0.5184 MB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.1624, allocations: 0 / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.29e-05/0.1625, allocations: 7.922 kB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1628, allocations: 55.75 kB / 0.6538 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.163, allocations: 39.88 kB / 0.6538 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.1635, allocations: 0.5421 MB / 0.6543 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.1635, allocations: 16.11 kB / 0.6543 GB, free: 9 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.1639, allocations: 203.7 kB / 0.6545 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.1643, allocations: 279.5 kB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1644, allocations: 31.94 kB / 0.6548 GB, free: 8.496 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1646, allocations: 51.97 kB / 0.6549 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.1649, allocations: 235.5 kB / 0.6551 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.1652, allocations: 234.9 kB / 0.6553 GB, free: 7.984 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.1657, allocations: 446.1 kB / 0.6558 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1658, allocations: 0 / 0.6558 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.415e-06/0.1658, allocations: 0 / 0.6558 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.1658, allocations: 0 / 0.6558 GB, free: 7.547 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.002098/0.1679, allocations: 0.8188 MB / 0.6566 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.168, allocations: 15.89 kB / 0.6566 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1681, allocations: 48.66 kB / 0.6566 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.1686, allocations: 343.6 kB / 0.6569 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.1687, allocations: 29 kB / 0.657 GB, free: 6.211 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.1688, allocations: 59.91 kB / 0.657 GB, free: 6.152 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009189/0.1697, allocations: 0.5801 MB / 0.6576 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1697, allocations: 0 / 0.6576 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.1698, allocations: 20 kB / 0.6576 GB, free: 5.547 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1698, allocations: 12 kB / 0.6576 GB, free: 5.535 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.1707, allocations: 0.5893 MB / 0.6582 GB, free: 4.945 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.1716, allocations: 0.6101 MB / 0.6588 GB, free: 4.289 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.1748, allocations: 1.36 MB / 0.6601 GB, free: 2.922 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.1755, allocations: 463.5 kB / 0.6606 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.1757, allocations: 106.1 kB / 0.6607 GB, free: 2.344 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1758, allocations: 43.55 kB / 0.6607 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.936e-06/0.1758, allocations: 0 / 0.6607 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002129/0.1779, allocations: 1.351 MB / 0.662 GB, free: 0.9375 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.178, allocations: 60.41 kB / 0.6621 GB, free: 0.8633 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1781, allocations: 178.7 kB / 0.6623 GB, free: 0.6797 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.1782, allocations: 41.7 kB / 0.6623 GB, free: 0.6328 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.1782, allocations: 106.1 kB / 0.6624 GB, free: 0.5234 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.1785, allocations: 424.4 kB / 0.6628 GB, free: 108 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.1788, allocations: 199 kB / 0.663 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.179, allocations: 370.7 kB / 0.6633 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.1797, allocations: 474.3 kB / 0.6638 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006985/0.1804, allocations: 483.5 kB / 0.6643 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1819, allocations: 1.044 MB / 0.6653 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1819, allocations: 0 / 0.6653 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001816/0.1838, allocations: 1.254 MB / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1838, allocations: 4 kB / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1838, allocations: 0 / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1838, allocations: 4 kB / 0.6665 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1849, allocations: 275.6 kB / 0.6668 GB, free: 12.01 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.1849, allocations: 4 kB / 0.6668 GB, free: 12.01 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.1853, allocations: 75.41 kB / 0.6668 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.1853, allocations: 35.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.000241/0.1856, allocations: 218.3 kB / 0.6671 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.1857, allocations: 51.7 kB / 0.6671 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.1879, allocations: 1.392 MB / 0.6685 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.1879, allocations: 11.97 kB / 0.6685 GB, free: 10.22 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1879, allocations: 0 / 0.6685 GB, free: 10.22 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.1883, allocations: 256.2 kB / 0.6688 GB, free: 9.949 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.1884, allocations: 35.98 kB / 0.6688 GB, free: 9.914 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.1887, allocations: 27.94 kB / 0.6688 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.1889, allocations: 89.17 kB / 0.6689 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003372/0.1923, allocations: 1.626 MB / 0.6705 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002867/0.1951, allocations: 2.131 MB / 0.6726 GB, free: 6.016 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008476/0.196, allocations: 0.6035 MB / 0.6732 GB, free: 5.414 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 9.909e-05/0.1961, allocations: 148.1 kB / 0.6733 GB, free: 5.27 MB / 0.5139 GB Notification: Performance of Backend: time 4.01e-07/0.1961, allocations: 0 / 0.6733 GB, free: 5.27 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.1976, allocations: 0.8139 MB / 0.6741 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of SimCode: time 0.003066/0.2007, allocations: 2.844 MB / 0.6769 GB, free: 1.547 MB / 0.5139 GB Notification: Performance of Templates: time 0.01967/0.2204, allocations: 11.88 MB / 0.6885 GB, free: 5.691 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