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.001232/0.001232, allocations: 112.5 kB / 17.07 MB, free: 5.992 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.001432/0.001432, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.407/1.407, allocations: 222.9 MB / 241.7 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.157/1.157, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.48 kB / 0.5724 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1807, allocations: 80.68 MB / 0.6512 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002982/0.1837, allocations: 1.394 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1849, allocations: 0.5146 MB / 0.653 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.185, allocations: 4 kB / 0.653 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.1851, allocations: 7.922 kB / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.1855, allocations: 59.73 kB / 0.6531 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.1857, allocations: 31.89 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.1863, allocations: 0.5537 MB / 0.6537 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.1864, allocations: 8.188 kB / 0.6537 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1867, allocations: 199.7 kB / 0.6539 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.1873, allocations: 283.4 kB / 0.6541 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.1874, allocations: 32 kB / 0.6542 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.1876, allocations: 51.98 kB / 0.6542 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.1879, allocations: 235.4 kB / 0.6544 GB, free: 8.242 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.1882, allocations: 238.8 kB / 0.6547 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.1888, allocations: 438.2 kB / 0.6551 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1888, allocations: 0 / 0.6551 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1888, allocations: 0 / 0.6551 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.385e-05/0.1888, allocations: 0 / 0.6551 GB, free: 7.578 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.002099/0.1909, allocations: 0.8266 MB / 0.6559 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.191, allocations: 11.89 kB / 0.6559 GB, free: 6.688 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.1912, allocations: 52.64 kB / 0.656 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.1918, allocations: 331.7 kB / 0.6563 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.1918, allocations: 32.94 kB / 0.6563 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.192, allocations: 59.91 kB / 0.6564 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1931, allocations: 0.5879 MB / 0.6569 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1932, allocations: 0 / 0.6569 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.1932, allocations: 20 kB / 0.657 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.1933, allocations: 12 kB / 0.657 GB, free: 5.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1943, allocations: 0.5894 MB / 0.6575 GB, free: 4.969 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.1952, allocations: 0.6101 MB / 0.6581 GB, free: 4.312 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.1985, allocations: 1.368 MB / 0.6595 GB, free: 2.938 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.1992, allocations: 451.6 kB / 0.6599 GB, free: 2.492 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.1994, allocations: 106.1 kB / 0.66 GB, free: 2.371 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1995, allocations: 43.5 kB / 0.66 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.725e-06/0.1995, allocations: 0 / 0.66 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002269/0.2018, allocations: 1.347 MB / 0.6614 GB, free: 0.9688 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.2018, allocations: 68.41 kB / 0.6614 GB, free: 0.8867 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.202, allocations: 170.7 kB / 0.6616 GB, free: 0.7109 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.2021, allocations: 41.7 kB / 0.6616 GB, free: 0.6641 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.2022, allocations: 110.1 kB / 0.6617 GB, free: 0.5508 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.2025, allocations: 424.4 kB / 0.6621 GB, free: 136 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.2029, allocations: 199 kB / 0.6623 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.203, allocations: 366.7 kB / 0.6627 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.2038, allocations: 474.3 kB / 0.6631 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/0.2046, allocations: 499.4 kB / 0.6636 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.2061, allocations: 1.04 MB / 0.6646 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2062, allocations: 0 / 0.6646 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001947/0.2081, allocations: 1.242 MB / 0.6658 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2081, allocations: 4 kB / 0.6658 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2082, allocations: 0 / 0.6658 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.2082, allocations: 8 kB / 0.6659 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.2093, allocations: 275.6 kB / 0.6661 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/0.2093, allocations: 11.98 kB / 0.6661 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.2097, allocations: 75.41 kB / 0.6662 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.2098, allocations: 39.98 kB / 0.6662 GB, free: 11.91 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.0002943/0.2101, allocations: 214.4 kB / 0.6664 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2102, allocations: 43.72 kB / 0.6665 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.2127, allocations: 1.392 MB / 0.6678 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.2127, allocations: 16 kB / 0.6679 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2127, allocations: 0 / 0.6679 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.2127, allocations: 7.969 kB / 0.6679 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009555/0.2137, allocations: 0.7428 MB / 0.6686 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2137, allocations: 0 / 0.6686 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.2152, allocations: 303.7 kB / 0.6689 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.2152, allocations: 11.94 kB / 0.6689 GB, free: 9.133 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.323e-05/0.2153, allocations: 59.88 kB / 0.6689 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.2153, allocations: 8 kB / 0.669 GB, free: 9.066 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2153, allocations: 3.938 kB / 0.669 GB, free: 9.062 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.218, allocations: 1.854 MB / 0.6708 GB, free: 7.188 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.2184, allocations: 252.2 kB / 0.671 GB, free: 6.922 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2186, allocations: 39.98 kB / 0.671 GB, free: 6.883 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.2189, allocations: 20 kB / 0.6711 GB, free: 6.863 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2191, allocations: 93.19 kB / 0.6712 GB, free: 6.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.2192, allocations: 39.98 kB / 0.6712 GB, free: 6.73 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001123/0.2193, allocations: 136.3 kB / 0.6713 GB, free: 6.598 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2193, allocations: 0 / 0.6713 GB, free: 6.598 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005423/0.2198, allocations: 232 kB / 0.6715 GB, free: 6.371 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (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 Backend phase and start with SimCode phase: time 0.0002581/0.2201, allocations: 166.8 kB / 0.6717 GB, free: 6.199 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.2219, allocations: 1.151 MB / 0.6728 GB, free: 5.047 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2219, allocations: 0 / 0.6728 GB, free: 5.047 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/0.2228, allocations: 0.6358 MB / 0.6734 GB, free: 4.414 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.2233, allocations: 103.9 kB / 0.6735 GB, free: 4.312 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.2273, allocations: 2.849 MB / 0.6763 GB, free: 1.43 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.2278, allocations: 0.9229 MB / 0.6772 GB, free: 492 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0008/0.2286, allocations: 364.8 kB / 0.6776 GB, free: 124 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.2289, allocations: 91.41 kB / 0.6777 GB, free: 32 kB / 0.5139 GB Notification: Performance of SimCode: time 8.82e-07/0.229, allocations: 0 / 0.6777 GB, free: 32 kB / 0.5139 GB Notification: Performance of Templates: time 0.01738/0.2463, allocations: 10.01 MB / 0.6874 GB, free: 6.074 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