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.001177/0.001177, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001289/0.001289, allocations: 187 kB / 18.68 MB, free: 4.406 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.962/0.962, allocations: 119.3 MB / 411.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 66.17 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1485, allocations: 80.68 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.00232/0.1509, allocations: 1.39 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008763/0.1518, allocations: 0.5184 MB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.1519, allocations: 0 / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.393e-05/0.1519, allocations: 11.92 kB / 0.6537 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1523, allocations: 55.73 kB / 0.6538 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1524, allocations: 31.89 kB / 0.6538 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.1529, allocations: 0.5498 MB / 0.6543 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.1529, allocations: 12.17 kB / 0.6543 GB, free: 8.992 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1532, allocations: 199.7 kB / 0.6545 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.1537, allocations: 279.5 kB / 0.6548 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1538, allocations: 28 kB / 0.6548 GB, free: 8.496 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.154, allocations: 59.97 kB / 0.6549 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.1542, allocations: 227.5 kB / 0.6551 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.1545, allocations: 246.8 kB / 0.6553 GB, free: 7.973 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.155, allocations: 438.5 kB / 0.6557 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.155, allocations: 0 / 0.6557 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.433e-06/0.155, allocations: 0 / 0.6557 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.155, allocations: 0 / 0.6557 GB, free: 7.543 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.001746/0.1568, allocations: 0.8076 MB / 0.6565 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1568, allocations: 15.89 kB / 0.6566 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.1569, allocations: 44.47 kB / 0.6566 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.1574, allocations: 339.5 kB / 0.6569 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.1575, allocations: 33 kB / 0.6569 GB, free: 6.223 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1576, allocations: 63.81 kB / 0.657 GB, free: 6.16 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.1585, allocations: 0.5801 MB / 0.6576 GB, free: 5.574 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1585, allocations: 3.938 kB / 0.6576 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.1585, allocations: 20 kB / 0.6576 GB, free: 5.551 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1586, allocations: 12 kB / 0.6576 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.1594, allocations: 0.5893 MB / 0.6582 GB, free: 4.949 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.1602, allocations: 0.6138 MB / 0.6588 GB, free: 4.289 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.1634, allocations: 1.364 MB / 0.6601 GB, free: 2.918 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.164, allocations: 459.6 kB / 0.6606 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.1642, allocations: 106.1 kB / 0.6607 GB, free: 2.344 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1643, allocations: 43.55 kB / 0.6607 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.515e-06/0.1643, allocations: 0 / 0.6607 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.00201/0.1663, allocations: 1.346 MB / 0.662 GB, free: 0.9414 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1664, allocations: 60.41 kB / 0.6621 GB, free: 0.8672 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1665, allocations: 178.7 kB / 0.6622 GB, free: 0.6836 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.1666, allocations: 41.7 kB / 0.6623 GB, free: 0.6367 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.1666, allocations: 106.1 kB / 0.6624 GB, free: 0.5273 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.1669, allocations: 402.2 kB / 0.6628 GB, free: 132 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.1672, allocations: 195 kB / 0.663 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1673, allocations: 370.7 kB / 0.6633 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/0.168, allocations: 478.3 kB / 0.6638 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.1687, allocations: 483.5 kB / 0.6642 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.1701, allocations: 1.044 MB / 0.6652 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1701, allocations: 0 / 0.6652 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001729/0.1719, allocations: 1.246 MB / 0.6665 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1719, allocations: 8 kB / 0.6665 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1719, allocations: 0 / 0.6665 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1719, allocations: 4 kB / 0.6665 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.173, allocations: 267.7 kB / 0.6667 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.173, allocations: 4 kB / 0.6667 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.1734, allocations: 75.12 kB / 0.6668 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.1734, allocations: 39.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.0002358/0.1737, allocations: 218.3 kB / 0.667 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.1738, allocations: 47.52 kB / 0.6671 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.1759, allocations: 1.388 MB / 0.6684 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.1759, allocations: 7.969 kB / 0.6685 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1759, allocations: 0 / 0.6685 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.1763, allocations: 248 kB / 0.6687 GB, free: 10 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.1764, allocations: 39.98 kB / 0.6687 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.1768, allocations: 31.88 kB / 0.6688 GB, free: 9.93 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.1769, allocations: 81.19 kB / 0.6688 GB, free: 9.848 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003432/0.1803, allocations: 1.629 MB / 0.6704 GB, free: 8.211 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002853/0.1832, allocations: 2.126 MB / 0.6725 GB, free: 6.066 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007788/0.184, allocations: 0.6112 MB / 0.6731 GB, free: 5.457 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001036/0.1841, allocations: 144.2 kB / 0.6732 GB, free: 5.316 MB / 0.5139 GB Notification: Performance of Backend: time 5.81e-07/0.1841, allocations: 4 kB / 0.6732 GB, free: 5.312 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.1856, allocations: 0.8099 MB / 0.674 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of SimCode: time 0.002941/0.1886, allocations: 2.807 MB / 0.6768 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of Templates: time 0.01957/0.2082, allocations: 11.88 MB / 0.6884 GB, free: 5.781 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