Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 115.7 kB / 17.74 MB, free: 5.293 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.001019/0.001019, allocations: 188.4 kB / 18.67 MB, free: 4.375 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.276/1.276, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9649/0.9649, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.14 kB / 0.573 GB, free: 38.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, 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_40): time 0.00228/0.1426, allocations: 1.386 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.1435, allocations: 0.5224 MB / 0.6537 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1436, allocations: 0 / 0.6537 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.639e-05/0.1437, allocations: 3.938 kB / 0.6537 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.144, allocations: 63.72 kB / 0.6537 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.1441, allocations: 27.91 kB / 0.6538 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.1449, allocations: 1.026 MB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.145, allocations: 12.12 kB / 0.6548 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.1453, allocations: 367.5 kB / 0.6551 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000666/0.146, allocations: 0.5186 MB / 0.6556 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.1462, allocations: 56 kB / 0.6557 GB, free: 7.582 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1464, allocations: 83.97 kB / 0.6558 GB, free: 7.5 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.1468, allocations: 459 kB / 0.6562 GB, free: 7.051 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.1472, allocations: 457.9 kB / 0.6567 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.1479, allocations: 0.8174 MB / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1479, allocations: 0 / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.645e-06/0.1479, allocations: 0 / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.1479, allocations: 3.938 kB / 0.6575 GB, free: 5.777 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002846/0.1508, allocations: 1.285 MB / 0.6587 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1508, allocations: 11.89 kB / 0.6587 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.151, allocations: 87.98 kB / 0.6588 GB, free: 4.344 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.1516, allocations: 477.5 kB / 0.6593 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.1516, allocations: 62 kB / 0.6593 GB, free: 3.777 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.1518, allocations: 115.7 kB / 0.6594 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1535, allocations: 1.135 MB / 0.6605 GB, free: 2.523 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1536, allocations: 0 / 0.6605 GB, free: 2.523 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/0.1537, allocations: 32 kB / 0.6606 GB, free: 2.492 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1537, allocations: 23.94 kB / 0.6606 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.1554, allocations: 1.261 MB / 0.6618 GB, free: 1.203 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1568, allocations: 1.088 MB / 0.6629 GB, free: 64 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.1631, allocations: 2.781 MB / 0.6656 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.1643, allocations: 0.885 MB / 0.6665 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.1645, allocations: 127 kB / 0.6666 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.1646, allocations: 56.56 kB / 0.6666 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.477e-06/0.1646, allocations: 0 / 0.6666 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003934/0.1685, allocations: 2.648 MB / 0.6692 GB, free: 9.543 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.1686, allocations: 77.41 kB / 0.6693 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1688, allocations: 233 kB / 0.6695 GB, free: 9.215 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.1689, allocations: 57.7 kB / 0.6696 GB, free: 9.152 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.169, allocations: 131.3 kB / 0.6697 GB, free: 9.02 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005557/0.1696, allocations: 0.774 MB / 0.6705 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.17, allocations: 376.3 kB / 0.6708 GB, free: 7.859 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1702, allocations: 329.9 kB / 0.6711 GB, free: 7.531 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.1715, allocations: 0.9254 MB / 0.672 GB, free: 6.602 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.1729, allocations: 0.9525 MB / 0.673 GB, free: 5.641 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.1757, allocations: 2.059 MB / 0.675 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1758, allocations: 0 / 0.675 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003471/0.1792, allocations: 2.438 MB / 0.6774 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1793, allocations: 4 kB / 0.6774 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1793, allocations: 0 / 0.6774 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.1793, allocations: 12 kB / 0.6774 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.1813, allocations: 0.5189 MB / 0.6779 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.1813, allocations: 15.98 kB / 0.6779 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/0.1821, allocations: 142.3 kB / 0.678 GB, free: 384 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.1823, allocations: 83.97 kB / 0.6781 GB, free: 300 kB / 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 (284): * Single equations (assignments): 284 * 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.0004868/0.1828, allocations: 310.2 kB / 0.6784 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.1829, allocations: 83.06 kB / 0.6785 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.1872, allocations: 2.716 MB / 0.6811 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.1872, allocations: 28 kB / 0.6812 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.1872, allocations: 4 kB / 0.6812 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.1873, allocations: 15.94 kB / 0.6812 GB, free: 13.08 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.1889, allocations: 1.334 MB / 0.6825 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1889, allocations: 0 / 0.6825 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/0.1916, allocations: 0.5892 MB / 0.6831 GB, free: 11.11 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-05/0.1917, allocations: 11.94 kB / 0.6831 GB, free: 11.1 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.1918, allocations: 95.94 kB / 0.6832 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.1918, allocations: 8 kB / 0.6832 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1918, allocations: 7.984 kB / 0.6832 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/0.1968, allocations: 3.608 MB / 0.6867 GB, free: 7.301 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/0.1973, allocations: 418.9 kB / 0.6871 GB, free: 6.871 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.1976, allocations: 75.95 kB / 0.6872 GB, free: 6.797 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.1983, allocations: 48 kB / 0.6872 GB, free: 6.75 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.1985, allocations: 162 kB / 0.6874 GB, free: 6.59 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.1987, allocations: 83.97 kB / 0.6875 GB, free: 6.508 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001475/0.1988, allocations: 168.5 kB / 0.6876 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1988, allocations: 4 kB / 0.6876 GB, free: 6.344 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008053/0.1996, allocations: 452 kB / 0.6881 GB, free: 5.902 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0003452/0.2, allocations: 221.5 kB / 0.6883 GB, free: 5.68 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003336/0.2033, allocations: 2.286 MB / 0.6905 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.2033, allocations: 0 / 0.6905 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.205, allocations: 1.265 MB / 0.6917 GB, free: 2.094 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.2057, allocations: 207.9 kB / 0.6919 GB, free: 1.891 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.2129, allocations: 5.52 MB / 0.6973 GB, free: 12.32 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.2136, allocations: 1.159 MB / 0.6985 GB, free: 11.13 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007198/0.2143, allocations: 175.4 kB / 0.6986 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of SimCode: time 1.182e-06/0.2143, allocations: 0 / 0.6986 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of Templates: time 0.02537/0.2397, allocations: 18.66 MB / 0.7168 GB, free: 8.32 MB / 0.5608 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches