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.00172/0.001721, allocations: 113.6 kB / 17.06 MB, free: 5.969 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.002133/0.002133, allocations: 196 kB / 18 MB, free: 5.051 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.378/1.378, allocations: 222.9 MB / 241.7 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 1.108/1.108, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.77 kB / 0.5724 GB, free: 38.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1837, allocations: 80.69 MB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002518/0.1863, allocations: 1.39 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.1872, allocations: 0.5185 MB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.1873, allocations: 0 / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.003e-05/0.1874, allocations: 11.92 kB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1877, allocations: 51.73 kB / 0.6531 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.1878, allocations: 39.89 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008629/0.1887, allocations: 1.026 MB / 0.6541 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.1888, allocations: 16.12 kB / 0.6541 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.1891, allocations: 367.5 kB / 0.6545 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006634/0.1898, allocations: 0.5108 MB / 0.655 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1899, allocations: 60 kB / 0.655 GB, free: 7.598 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1902, allocations: 75.98 kB / 0.6551 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.1906, allocations: 470.9 kB / 0.6556 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004773/0.1911, allocations: 449.9 kB / 0.656 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007885/0.1919, allocations: 0.8247 MB / 0.6568 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1919, allocations: 0 / 0.6568 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1919, allocations: 0 / 0.6568 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.1919, allocations: 0 / 0.6568 GB, free: 5.793 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.003013/0.195, allocations: 1.307 MB / 0.6581 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.195, allocations: 11.89 kB / 0.6581 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.1952, allocations: 92.42 kB / 0.6582 GB, free: 4.332 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.1959, allocations: 477.8 kB / 0.6586 GB, free: 3.824 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.1959, allocations: 58 kB / 0.6587 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.1961, allocations: 115.8 kB / 0.6588 GB, free: 3.656 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.1978, allocations: 1.143 MB / 0.6599 GB, free: 2.508 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1978, allocations: 0 / 0.6599 GB, free: 2.508 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.1979, allocations: 32 kB / 0.6599 GB, free: 2.477 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.1979, allocations: 20 kB / 0.66 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.1998, allocations: 1.261 MB / 0.6612 GB, free: 1.191 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.2012, allocations: 1.088 MB / 0.6623 GB, free: 52 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006188/0.2074, allocations: 2.777 MB / 0.665 GB, free: 13.28 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.2086, allocations: 0.885 MB / 0.6658 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.209, allocations: 127 kB / 0.666 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.209, allocations: 60.5 kB / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.406e-06/0.209, allocations: 0 / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.00418/0.2132, allocations: 2.645 MB / 0.6686 GB, free: 9.535 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.2133, allocations: 73.41 kB / 0.6687 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.2136, allocations: 237 kB / 0.6689 GB, free: 9.207 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.45e-05/0.2137, allocations: 53.7 kB / 0.6689 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.2138, allocations: 135.3 kB / 0.6691 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/0.2144, allocations: 0.8173 MB / 0.6699 GB, free: 8.188 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/0.2149, allocations: 380.2 kB / 0.6702 GB, free: 7.809 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2151, allocations: 329.9 kB / 0.6705 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.2165, allocations: 0.9216 MB / 0.6714 GB, free: 6.555 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.2179, allocations: 0.9525 MB / 0.6724 GB, free: 5.594 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.2209, allocations: 2.062 MB / 0.6744 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2209, allocations: 0 / 0.6744 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003551/0.2244, allocations: 2.435 MB / 0.6768 GB, free: 1.02 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.2245, allocations: 8 kB / 0.6768 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2245, allocations: 7.984 kB / 0.6768 GB, free: 1.004 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.2245, allocations: 8 kB / 0.6768 GB, free: 0.9961 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.2265, allocations: 0.5189 MB / 0.6773 GB, free: 488 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.2265, allocations: 8 kB / 0.6773 GB, free: 480 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.2272, allocations: 150.8 kB / 0.6774 GB, free: 328 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.2274, allocations: 79.97 kB / 0.6775 GB, free: 248 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.0004653/0.2278, allocations: 310.2 kB / 0.6778 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.228, allocations: 91.44 kB / 0.6779 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/0.2324, allocations: 2.716 MB / 0.6806 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.2324, allocations: 24 kB / 0.6806 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.2325, allocations: 3.984 kB / 0.6806 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/0.2325, allocations: 15.95 kB / 0.6806 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.2341, allocations: 1.346 MB / 0.6819 GB, free: 11.63 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.2341, allocations: 3.938 kB / 0.6819 GB, free: 11.63 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/0.2368, allocations: 0.5814 MB / 0.6825 GB, free: 11.05 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.2368, allocations: 12 kB / 0.6825 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.237, allocations: 95.92 kB / 0.6826 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.237, allocations: 8 kB / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.237, allocations: 0 / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/0.2421, allocations: 3.628 MB / 0.6861 GB, free: 7.227 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.2427, allocations: 423.4 kB / 0.6865 GB, free: 6.793 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.2429, allocations: 79.95 kB / 0.6866 GB, free: 6.715 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.2435, allocations: 44 kB / 0.6867 GB, free: 6.672 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/0.2438, allocations: 166 kB / 0.6868 GB, free: 6.508 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.2439, allocations: 79.97 kB / 0.6869 GB, free: 6.43 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001754/0.2441, allocations: 172.5 kB / 0.6871 GB, free: 6.266 MB / 0.5295 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2441, allocations: 0 / 0.6871 GB, free: 6.266 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008463/0.245, allocations: 444 kB / 0.6875 GB, free: 5.832 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.000349/0.2453, allocations: 225.5 kB / 0.6877 GB, free: 5.605 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.2487, allocations: 2.286 MB / 0.6899 GB, free: 3.289 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2487, allocations: 0 / 0.6899 GB, free: 3.289 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.2504, allocations: 1.269 MB / 0.6912 GB, free: 2.016 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.2511, allocations: 207.9 kB / 0.6914 GB, free: 1.812 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007333/0.2585, allocations: 5.523 MB / 0.6968 GB, free: 12.24 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.2593, allocations: 1.155 MB / 0.6979 GB, free: 11.05 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001685/0.261, allocations: 0.7395 MB / 0.6986 GB, free: 10.31 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/0.2615, allocations: 167.4 kB / 0.6988 GB, free: 10.15 MB / 0.5452 GB Notification: Performance of SimCode: time 1.313e-06/0.2616, allocations: 0 / 0.6988 GB, free: 10.15 MB / 0.5452 GB Notification: Performance of Templates: time 0.03326/0.2948, allocations: 19.32 MB / 0.7176 GB, free: 6.895 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/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