Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 110.9 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.001243/0.001243, allocations: 190.6 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.286/1.286, 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.9991/0.9991, allocations: 119.3 MB / 411.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62 kB / 0.573 GB, free: 38.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 80.7 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00229/0.1591, allocations: 1.382 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.16, allocations: 0.5146 MB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.16, allocations: 0 / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.718e-05/0.1601, allocations: 7.938 kB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1604, allocations: 63.72 kB / 0.6538 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.1605, allocations: 27.91 kB / 0.6538 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000324/0.1609, allocations: 319.3 kB / 0.6541 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.1609, allocations: 12.12 kB / 0.6541 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1611, allocations: 119.8 kB / 0.6542 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.1613, allocations: 151.7 kB / 0.6544 GB, free: 8.973 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1614, allocations: 19.94 kB / 0.6544 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1615, allocations: 43.97 kB / 0.6544 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1617, allocations: 115.7 kB / 0.6545 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1618, allocations: 127.4 kB / 0.6546 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1621, allocations: 239.1 kB / 0.6549 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1621, allocations: 3.984 kB / 0.6549 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1621, allocations: 0 / 0.6549 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.1621, allocations: 4 kB / 0.6549 GB, free: 8.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001141/0.1632, allocations: 0.5733 MB / 0.6554 GB, free: 7.809 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1633, allocations: 11.89 kB / 0.6555 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.1634, allocations: 28.66 kB / 0.6555 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1637, allocations: 261.8 kB / 0.6557 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1637, allocations: 16.44 kB / 0.6557 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.1638, allocations: 31.91 kB / 0.6558 GB, free: 7.43 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.1643, allocations: 323 kB / 0.6561 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1643, allocations: 4 kB / 0.6561 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1644, allocations: 4 kB / 0.6561 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1644, allocations: 4 kB / 0.6561 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.1648, allocations: 289.5 kB / 0.6564 GB, free: 6.812 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.1653, allocations: 399.2 kB / 0.6568 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.167, allocations: 0.6744 MB / 0.6574 GB, free: 5.691 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.1674, allocations: 238 kB / 0.6576 GB, free: 5.457 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.1676, allocations: 105.5 kB / 0.6577 GB, free: 5.336 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1676, allocations: 42.98 kB / 0.6578 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.1676, allocations: 0 / 0.6578 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001119/0.1688, allocations: 0.6917 MB / 0.6585 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1688, allocations: 55.84 kB / 0.6585 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1689, allocations: 149.2 kB / 0.6587 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.169, allocations: 37.7 kB / 0.6587 GB, free: 4.312 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.169, allocations: 97.12 kB / 0.6588 GB, free: 4.211 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.1692, allocations: 209 kB / 0.659 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1694, allocations: 110.3 kB / 0.6591 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1695, allocations: 342.8 kB / 0.6594 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.1699, allocations: 237.1 kB / 0.6596 GB, free: 3.316 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.1702, allocations: 253.7 kB / 0.6599 GB, free: 3.066 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007831/0.171, allocations: 0.5242 MB / 0.6604 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.171, allocations: 0 / 0.6604 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009461/0.172, allocations: 0.6452 MB / 0.661 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.172, allocations: 6.969 kB / 0.661 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.172, allocations: 4 kB / 0.661 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.172, allocations: 4 kB / 0.661 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.1726, allocations: 143.8 kB / 0.6612 GB, free: 1.734 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.1726, allocations: 11.92 kB / 0.6612 GB, free: 1.723 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1728, allocations: 35.53 kB / 0.6612 GB, free: 1.688 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.1729, allocations: 23.98 kB / 0.6612 GB, free: 1.664 MB / 0.4983 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 (74): * Single equations (assignments): 74 * 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.0001694/0.173, allocations: 162.5 kB / 0.6614 GB, free: 1.496 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.1731, allocations: 23.72 kB / 0.6614 GB, free: 1.473 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1743, allocations: 0.7205 MB / 0.6621 GB, free: 0.75 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1743, allocations: 7.984 kB / 0.6621 GB, free: 0.7422 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1743, allocations: 3.938 kB / 0.6621 GB, free: 0.7383 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.1745, allocations: 172.5 kB / 0.6623 GB, free: 0.5508 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.1746, allocations: 19.98 kB / 0.6623 GB, free: 0.5312 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1748, allocations: 8 kB / 0.6623 GB, free: 0.5234 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.1749, allocations: 44.59 kB / 0.6624 GB, free: 492 kB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00179/0.1767, allocations: 0.8714 MB / 0.6632 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001514/0.1782, allocations: 1.178 MB / 0.6644 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004088/0.1786, allocations: 313 kB / 0.6647 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.717e-05/0.1787, allocations: 111.2 kB / 0.6648 GB, free: 13.99 MB / 0.5139 GB Notification: Performance of Backend: time 7.42e-07/0.1787, allocations: 4 kB / 0.6648 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009133/0.1796, allocations: 465.7 kB / 0.6652 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of SimCode: time 0.00172/0.1814, allocations: 1.726 MB / 0.6669 GB, free: 11.74 MB / 0.5139 GB Notification: Performance of Templates: time 0.01017/0.1915, allocations: 6.277 MB / 0.673 GB, free: 5.492 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches