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.001365/0.001365, allocations: 112.4 kB / 17.07 MB, free: 6.016 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.001298/0.001298, allocations: 190.1 kB / 18 MB, free: 5.098 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.425/1.425, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.1/1.1, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001945, allocations: 68.98 kB / 0.5724 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, 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.002713/0.1756, allocations: 1.382 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1766, allocations: 0.5146 MB / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.1767, allocations: 0 / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1768, allocations: 7.922 kB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.1772, allocations: 63.72 kB / 0.6531 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.1773, allocations: 35.88 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006405/0.178, allocations: 0.5537 MB / 0.6537 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.178, allocations: 8.188 kB / 0.6537 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1783, allocations: 199.6 kB / 0.6539 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.1788, allocations: 283.4 kB / 0.6541 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.665e-05/0.1788, allocations: 32 kB / 0.6542 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.179, allocations: 47.98 kB / 0.6542 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.1793, allocations: 235.5 kB / 0.6544 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.1796, allocations: 238.8 kB / 0.6547 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.1801, allocations: 438.2 kB / 0.6551 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1801, allocations: 4 kB / 0.6551 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1801, allocations: 0 / 0.6551 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.1801, allocations: 0 / 0.6551 GB, free: 7.559 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.001954/0.1821, allocations: 0.8265 MB / 0.6559 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1821, allocations: 11.89 kB / 0.6559 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.1823, allocations: 56.64 kB / 0.656 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.1827, allocations: 327.7 kB / 0.6563 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.1828, allocations: 29 kB / 0.6563 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1829, allocations: 63.91 kB / 0.6564 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.184, allocations: 0.584 MB / 0.6569 GB, free: 5.574 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.184, allocations: 3.938 kB / 0.6569 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.1841, allocations: 16 kB / 0.657 GB, free: 5.555 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.1841, allocations: 12 kB / 0.657 GB, free: 5.543 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009716/0.1851, allocations: 0.5894 MB / 0.6575 GB, free: 4.953 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.186, allocations: 0.6179 MB / 0.6581 GB, free: 4.289 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/0.1895, allocations: 1.36 MB / 0.6595 GB, free: 2.922 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.1902, allocations: 459.6 kB / 0.6599 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.1905, allocations: 106.1 kB / 0.66 GB, free: 2.348 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1905, allocations: 43.56 kB / 0.6601 GB, free: 2.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 3.005e-06/0.1905, allocations: 0 / 0.6601 GB, free: 2.297 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002401/0.1929, allocations: 1.351 MB / 0.6614 GB, free: 0.9414 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.193, allocations: 60.41 kB / 0.6614 GB, free: 0.8672 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1932, allocations: 170.7 kB / 0.6616 GB, free: 0.6914 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.1933, allocations: 49.7 kB / 0.6616 GB, free: 0.6367 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.1934, allocations: 106.1 kB / 0.6617 GB, free: 0.5273 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.1937, allocations: 420.4 kB / 0.6621 GB, free: 116 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.1941, allocations: 202.9 kB / 0.6623 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002831/0.1944, allocations: 366.7 kB / 0.6627 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.1951, allocations: 474.3 kB / 0.6631 GB, free: 15.08 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007817/0.1959, allocations: 491.5 kB / 0.6636 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.1976, allocations: 1.04 MB / 0.6646 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1976, allocations: 4 kB / 0.6646 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002192/0.1998, allocations: 1.246 MB / 0.6658 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1998, allocations: 8 kB / 0.6659 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1998, allocations: 3.938 kB / 0.6659 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.1999, allocations: 4 kB / 0.6659 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.201, allocations: 271.6 kB / 0.6661 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.201, allocations: 4 kB / 0.6661 GB, free: 12.01 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.2014, allocations: 75.41 kB / 0.6662 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/0.2015, allocations: 39.98 kB / 0.6662 GB, free: 11.9 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.0003083/0.2018, allocations: 218.4 kB / 0.6664 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.2019, allocations: 47.72 kB / 0.6665 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.2043, allocations: 1.392 MB / 0.6678 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2043, allocations: 15.98 kB / 0.6679 GB, free: 10.22 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2044, allocations: 0 / 0.6679 GB, free: 10.22 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.2044, allocations: 7.969 kB / 0.6679 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.2054, allocations: 0.7429 MB / 0.6686 GB, free: 9.418 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2054, allocations: 0 / 0.6686 GB, free: 9.418 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.2068, allocations: 303.7 kB / 0.6689 GB, free: 9.121 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.2068, allocations: 8 kB / 0.6689 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/0.2069, allocations: 55.89 kB / 0.6689 GB, free: 9.059 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.207, allocations: 8 kB / 0.669 GB, free: 9.051 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.207, allocations: 0 / 0.669 GB, free: 9.051 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.21, allocations: 1.862 MB / 0.6708 GB, free: 7.168 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.2104, allocations: 252.2 kB / 0.671 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2105, allocations: 35.98 kB / 0.671 GB, free: 6.867 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.2108, allocations: 24 kB / 0.6711 GB, free: 6.844 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.211, allocations: 81.19 kB / 0.6711 GB, free: 6.762 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.2111, allocations: 47.98 kB / 0.6712 GB, free: 6.715 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001339/0.2113, allocations: 144.3 kB / 0.6713 GB, free: 6.574 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2e-07/0.2113, allocations: 0 / 0.6713 GB, free: 6.574 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005901/0.2119, allocations: 228 kB / 0.6716 GB, free: 6.352 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.0003014/0.2122, allocations: 170.8 kB / 0.6717 GB, free: 6.176 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.2141, allocations: 1.143 MB / 0.6728 GB, free: 5.031 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2141, allocations: 0 / 0.6728 GB, free: 5.031 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.2151, allocations: 0.6358 MB / 0.6735 GB, free: 4.398 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.2155, allocations: 107.6 kB / 0.6736 GB, free: 4.297 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.22, allocations: 2.849 MB / 0.6763 GB, free: 1.414 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.2206, allocations: 0.9275 MB / 0.6772 GB, free: 472 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0008475/0.2214, allocations: 368.8 kB / 0.6776 GB, free: 100 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.2218, allocations: 87.41 kB / 0.6777 GB, free: 12 kB / 0.5139 GB Notification: Performance of SimCode: time 9.91e-07/0.2218, allocations: 0 / 0.6777 GB, free: 12 kB / 0.5139 GB Notification: Performance of Templates: time 0.01868/0.2405, allocations: 9.99 MB / 0.6874 GB, free: 6.07 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