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.001641/0.001641, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.001944/0.001944, allocations: 187.8 kB / 18 MB, free: 5.219 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.426/1.426, 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.121/1.121, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.75 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1819, allocations: 80.69 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002596/0.1846, allocations: 1.374 MB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1856, allocations: 0.5223 MB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.1857, allocations: 0 / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1858, allocations: 7.922 kB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.1861, allocations: 63.72 kB / 0.6531 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.1863, allocations: 35.89 kB / 0.6531 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000495/0.1868, allocations: 0.5498 MB / 0.6537 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.1868, allocations: 8.188 kB / 0.6537 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.1871, allocations: 203.7 kB / 0.6539 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1875, allocations: 279.5 kB / 0.6541 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.1876, allocations: 28 kB / 0.6541 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1877, allocations: 55.95 kB / 0.6542 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.188, allocations: 231.5 kB / 0.6544 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.1882, allocations: 242.8 kB / 0.6547 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.1887, allocations: 442.5 kB / 0.6551 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1887, allocations: 0 / 0.6551 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1887, allocations: 0 / 0.6551 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.1887, allocations: 0 / 0.6551 GB, free: 7.555 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.00174/0.1904, allocations: 0.8193 MB / 0.6559 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1905, allocations: 11.89 kB / 0.6559 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1906, allocations: 44.47 kB / 0.6559 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.1911, allocations: 331.6 kB / 0.6562 GB, free: 6.266 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.1911, allocations: 29 kB / 0.6563 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.1912, allocations: 55.81 kB / 0.6563 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.1922, allocations: 0.5918 MB / 0.6569 GB, free: 5.586 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1923, allocations: 4 kB / 0.6569 GB, free: 5.582 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.1923, allocations: 16 kB / 0.6569 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.1923, allocations: 8 kB / 0.6569 GB, free: 5.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.1932, allocations: 0.5855 MB / 0.6575 GB, free: 4.973 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.1941, allocations: 0.6177 MB / 0.6581 GB, free: 4.309 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.1973, allocations: 1.368 MB / 0.6594 GB, free: 2.934 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.1979, allocations: 459.6 kB / 0.6599 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.1982, allocations: 102.1 kB / 0.66 GB, free: 2.363 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1982, allocations: 47.5 kB / 0.66 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 1.964e-06/0.1982, allocations: 4 kB / 0.66 GB, free: 2.305 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002162/0.2004, allocations: 1.342 MB / 0.6613 GB, free: 0.957 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2004, allocations: 64.41 kB / 0.6614 GB, free: 0.8789 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.2006, allocations: 166.7 kB / 0.6616 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.2007, allocations: 41.7 kB / 0.6616 GB, free: 0.6602 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.2008, allocations: 114.1 kB / 0.6617 GB, free: 0.543 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.2011, allocations: 402.1 kB / 0.6621 GB, free: 148 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.2014, allocations: 198.9 kB / 0.6623 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2015, allocations: 374.7 kB / 0.6626 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.2022, allocations: 470.3 kB / 0.6631 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.2029, allocations: 491.5 kB / 0.6636 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.2043, allocations: 1.04 MB / 0.6646 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2043, allocations: 0 / 0.6646 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00176/0.2061, allocations: 1.246 MB / 0.6658 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2061, allocations: 4 kB / 0.6658 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2061, allocations: 0 / 0.6658 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.2061, allocations: 8 kB / 0.6658 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2072, allocations: 271.6 kB / 0.6661 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.2072, allocations: 8 kB / 0.6661 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.2076, allocations: 75.12 kB / 0.6661 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.2077, allocations: 39.98 kB / 0.6662 GB, free: 11.93 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.0002838/0.2079, allocations: 214.4 kB / 0.6664 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.208, allocations: 39.53 kB / 0.6664 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.2103, allocations: 1.388 MB / 0.6678 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.2103, allocations: 16 kB / 0.6678 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2103, allocations: 0 / 0.6678 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.2103, allocations: 7.969 kB / 0.6678 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008612/0.2112, allocations: 0.7504 MB / 0.6685 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2112, allocations: 0 / 0.6685 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.2126, allocations: 303.7 kB / 0.6688 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.2126, allocations: 4 kB / 0.6688 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/0.2127, allocations: 47.91 kB / 0.6689 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.2127, allocations: 11.98 kB / 0.6689 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2127, allocations: 0 / 0.6689 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.2152, allocations: 1.854 MB / 0.6707 GB, free: 7.227 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.2156, allocations: 252 kB / 0.6709 GB, free: 6.961 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2157, allocations: 39.98 kB / 0.671 GB, free: 6.922 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.216, allocations: 24 kB / 0.671 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.2162, allocations: 85.19 kB / 0.6711 GB, free: 6.812 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.2163, allocations: 43.98 kB / 0.6711 GB, free: 6.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001084/0.2164, allocations: 136.3 kB / 0.6712 GB, free: 6.637 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2164, allocations: 0 / 0.6712 GB, free: 6.637 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005307/0.2169, allocations: 236 kB / 0.6715 GB, free: 6.406 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.0002724/0.2172, allocations: 170.9 kB / 0.6716 GB, free: 6.23 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.2189, allocations: 1.147 MB / 0.6728 GB, free: 5.082 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2189, allocations: 0 / 0.6728 GB, free: 5.082 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.2197, allocations: 0.6358 MB / 0.6734 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.2202, allocations: 103.9 kB / 0.6735 GB, free: 4.348 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.2241, allocations: 2.82 MB / 0.6762 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.2246, allocations: 0.9268 MB / 0.6771 GB, free: 0.543 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007819/0.2254, allocations: 368.8 kB / 0.6775 GB, free: 184 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.2257, allocations: 91.41 kB / 0.6776 GB, free: 92 kB / 0.5139 GB Notification: Performance of SimCode: time 1.533e-06/0.2258, allocations: 0 / 0.6776 GB, free: 92 kB / 0.5139 GB Notification: Performance of Templates: time 0.01772/0.2435, allocations: 9.99 MB / 0.6873 GB, free: 6.148 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/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