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.001412/0.001412, allocations: 102 kB / 17.05 MB, free: 6.125 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.001341/0.001341, allocations: 196.1 kB / 18 MB, free: 5.199 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.405/1.405, 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.115/1.115, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.78 kB / 0.5724 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1794, 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_20): time 0.003091/0.1825, allocations: 1.386 MB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1837, allocations: 0.5185 MB / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.1839, allocations: 0 / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.184, allocations: 7.922 kB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1844, allocations: 59.73 kB / 0.6531 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1846, allocations: 39.83 kB / 0.6531 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.1852, allocations: 0.5421 MB / 0.6537 GB, free: 9.031 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.1853, allocations: 16.11 kB / 0.6537 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.1857, allocations: 199.7 kB / 0.6539 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.1863, allocations: 283.4 kB / 0.6541 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.1864, allocations: 28 kB / 0.6542 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.1866, allocations: 55.97 kB / 0.6542 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.1869, allocations: 231.5 kB / 0.6544 GB, free: 8.234 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.1873, allocations: 238.9 kB / 0.6547 GB, free: 8 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.1878, allocations: 438.4 kB / 0.6551 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1879, allocations: 0 / 0.6551 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1879, allocations: 0 / 0.6551 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.1879, allocations: 0 / 0.6551 GB, free: 7.57 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.002025/0.1899, allocations: 0.8193 MB / 0.6559 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.19, allocations: 11.89 kB / 0.6559 GB, free: 6.688 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1901, allocations: 44.47 kB / 0.6559 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.1907, allocations: 335.6 kB / 0.6563 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.1907, allocations: 29 kB / 0.6563 GB, free: 6.25 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1909, allocations: 59.75 kB / 0.6563 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1919, allocations: 0.588 MB / 0.6569 GB, free: 5.598 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.192, allocations: 0 / 0.6569 GB, free: 5.598 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.192, allocations: 20 kB / 0.6569 GB, free: 5.578 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.192, allocations: 8 kB / 0.6569 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009565/0.193, allocations: 0.5816 MB / 0.6575 GB, free: 4.988 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.1939, allocations: 0.6177 MB / 0.6581 GB, free: 4.324 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.1972, allocations: 1.368 MB / 0.6594 GB, free: 2.949 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.1979, allocations: 467.4 kB / 0.6599 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.1982, allocations: 102.1 kB / 0.66 GB, free: 2.371 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1982, allocations: 43.56 kB / 0.66 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 3.607e-06/0.1982, allocations: 4 kB / 0.66 GB, free: 2.316 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.00225/0.2005, allocations: 1.342 MB / 0.6613 GB, free: 0.9688 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.2006, allocations: 64.41 kB / 0.6614 GB, free: 0.8906 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2008, allocations: 166.7 kB / 0.6616 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.2008, allocations: 45.7 kB / 0.6616 GB, free: 0.668 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.2009, allocations: 110.1 kB / 0.6617 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.2013, allocations: 398.2 kB / 0.6621 GB, free: 164 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.2016, allocations: 199 kB / 0.6623 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2018, allocations: 374.7 kB / 0.6626 GB, free: 15.58 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.2025, allocations: 474.2 kB / 0.6631 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.2033, allocations: 495.5 kB / 0.6636 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.2048, allocations: 1.033 MB / 0.6646 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2048, allocations: 0 / 0.6646 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00186/0.2067, allocations: 1.246 MB / 0.6658 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2067, allocations: 4 kB / 0.6658 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2067, allocations: 0 / 0.6658 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.2068, allocations: 8 kB / 0.6658 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.2078, allocations: 267.6 kB / 0.6661 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/0.2078, allocations: 12 kB / 0.6661 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.2083, allocations: 75.12 kB / 0.6661 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.2084, allocations: 43.97 kB / 0.6662 GB, free: 11.94 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.0003273/0.2087, allocations: 214.4 kB / 0.6664 GB, free: 11.72 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.2088, allocations: 39.53 kB / 0.6664 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.2114, allocations: 1.392 MB / 0.6678 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.2114, allocations: 16 kB / 0.6678 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.2114, allocations: 4 kB / 0.6678 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.2114, allocations: 7.969 kB / 0.6678 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.2125, allocations: 0.7425 MB / 0.6685 GB, free: 9.473 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.2125, allocations: 4 kB / 0.6685 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.2139, allocations: 303.7 kB / 0.6688 GB, free: 9.172 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.13e-05/0.214, allocations: 7.938 kB / 0.6688 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.2141, allocations: 47.95 kB / 0.6689 GB, free: 9.117 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.2141, allocations: 11.94 kB / 0.6689 GB, free: 9.105 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2141, allocations: 0 / 0.6689 GB, free: 9.105 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.2171, allocations: 1.85 MB / 0.6707 GB, free: 7.234 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.2175, allocations: 252 kB / 0.6709 GB, free: 6.969 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.2176, allocations: 43.98 kB / 0.671 GB, free: 6.926 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.218, allocations: 20 kB / 0.671 GB, free: 6.906 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.2182, allocations: 89.12 kB / 0.6711 GB, free: 6.816 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.2183, allocations: 43.98 kB / 0.6711 GB, free: 6.773 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001446/0.2184, allocations: 136.3 kB / 0.6713 GB, free: 6.641 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2184, allocations: 0 / 0.6713 GB, free: 6.641 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006792/0.2191, allocations: 236 kB / 0.6715 GB, free: 6.41 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.0003126/0.2194, allocations: 166.8 kB / 0.6716 GB, free: 6.238 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.2215, allocations: 1.151 MB / 0.6728 GB, free: 5.086 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2216, allocations: 0 / 0.6728 GB, free: 5.086 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.2226, allocations: 0.6358 MB / 0.6734 GB, free: 4.453 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.2232, allocations: 104 kB / 0.6735 GB, free: 4.352 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.2279, allocations: 2.816 MB / 0.6762 GB, free: 1.504 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.2286, allocations: 0.9229 MB / 0.6771 GB, free: 0.5547 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0009474/0.2296, allocations: 372.8 kB / 0.6775 GB, free: 192 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.2299, allocations: 87.41 kB / 0.6776 GB, free: 104 kB / 0.5139 GB Notification: Performance of SimCode: time 1.823e-06/0.2299, allocations: 0 / 0.6776 GB, free: 104 kB / 0.5139 GB Notification: Performance of Templates: time 0.01986/0.2498, allocations: 9.994 MB / 0.6873 GB, free: 6.156 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