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.001842/0.001842, allocations: 110.7 kB / 17.06 MB, free: 6.02 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.001819/0.001819, allocations: 191.8 kB / 18 MB, free: 5.109 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.424/1.424, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.124/1.124, allocations: 119.3 MB / 411.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.7 kB / 0.5724 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1757, allocations: 80.69 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002582/0.1784, allocations: 1.382 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.1794, allocations: 0.5224 MB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.1794, allocations: 0 / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1795, allocations: 7.922 kB / 0.653 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.1799, allocations: 59.73 kB / 0.6531 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.18, allocations: 35.89 kB / 0.6531 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.1806, allocations: 0.5498 MB / 0.6537 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.1806, allocations: 12.16 kB / 0.6537 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.1809, allocations: 199.7 kB / 0.6539 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.1813, allocations: 279.5 kB / 0.6541 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.1813, allocations: 28 kB / 0.6541 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1815, allocations: 55.97 kB / 0.6542 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1817, allocations: 231.5 kB / 0.6544 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.182, allocations: 242.8 kB / 0.6547 GB, free: 7.969 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.1824, allocations: 434.5 kB / 0.6551 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1824, allocations: 0 / 0.6551 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.435e-06/0.1824, allocations: 3.938 kB / 0.6551 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.1824, allocations: 0 / 0.6551 GB, free: 7.539 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.001808/0.1843, allocations: 0.8193 MB / 0.6559 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1843, allocations: 11.89 kB / 0.6559 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1844, allocations: 48.41 kB / 0.6559 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.1849, allocations: 335.6 kB / 0.6562 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.1849, allocations: 29 kB / 0.6563 GB, free: 6.215 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.185, allocations: 55.81 kB / 0.6563 GB, free: 6.16 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.1859, allocations: 0.588 MB / 0.6569 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.186, allocations: 0 / 0.6569 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.186, allocations: 20 kB / 0.6569 GB, free: 5.547 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.186, allocations: 8 kB / 0.6569 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008468/0.1869, allocations: 0.5854 MB / 0.6575 GB, free: 4.953 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.1877, allocations: 0.6177 MB / 0.6581 GB, free: 4.289 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.1909, allocations: 1.368 MB / 0.6594 GB, free: 2.914 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006357/0.1916, allocations: 459.6 kB / 0.6599 GB, free: 2.461 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.1918, allocations: 98.08 kB / 0.66 GB, free: 2.348 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1919, allocations: 43.56 kB / 0.66 GB, free: 2.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 3.166e-06/0.1919, allocations: 0 / 0.66 GB, free: 2.297 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002222/0.1941, allocations: 1.354 MB / 0.6613 GB, free: 0.9375 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1942, allocations: 64.41 kB / 0.6614 GB, free: 0.8594 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1944, allocations: 166.7 kB / 0.6616 GB, free: 0.6875 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.1944, allocations: 45.7 kB / 0.6616 GB, free: 0.6367 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.1945, allocations: 110.1 kB / 0.6617 GB, free: 0.5234 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.1949, allocations: 398.2 kB / 0.6621 GB, free: 132 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.1952, allocations: 195 kB / 0.6623 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1954, allocations: 374.7 kB / 0.6626 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/0.1961, allocations: 470.3 kB / 0.6631 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/0.1968, allocations: 491.5 kB / 0.6635 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.1983, allocations: 1.044 MB / 0.6646 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1983, allocations: 0 / 0.6646 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001837/0.2001, allocations: 1.246 MB / 0.6658 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2002, allocations: 4 kB / 0.6658 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2002, allocations: 0 / 0.6658 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.2002, allocations: 8 kB / 0.6658 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.2013, allocations: 263.7 kB / 0.666 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.2013, allocations: 15.98 kB / 0.6661 GB, free: 12.03 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2017, allocations: 83.06 kB / 0.6661 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.2017, 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.0002913/0.202, allocations: 210.4 kB / 0.6664 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.2021, allocations: 43.52 kB / 0.6664 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.2045, allocations: 1.392 MB / 0.6678 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.2045, allocations: 19.94 kB / 0.6678 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2045, allocations: 0 / 0.6678 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.2045, allocations: 7.969 kB / 0.6678 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.2055, allocations: 0.7425 MB / 0.6685 GB, free: 9.438 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2055, allocations: 4 kB / 0.6685 GB, free: 9.434 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.2069, allocations: 303.7 kB / 0.6688 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.2069, allocations: 4 kB / 0.6688 GB, free: 9.133 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.932e-05/0.207, allocations: 47.91 kB / 0.6689 GB, free: 9.086 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.795e-05/0.2071, allocations: 8 kB / 0.6689 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2071, allocations: 0 / 0.6689 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.2097, allocations: 1.862 MB / 0.6707 GB, free: 7.195 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.21, allocations: 248 kB / 0.6709 GB, free: 6.934 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2101, allocations: 43.97 kB / 0.671 GB, free: 6.891 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.2104, allocations: 24 kB / 0.671 GB, free: 6.867 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.2106, allocations: 85.19 kB / 0.6711 GB, free: 6.781 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.2107, allocations: 43.98 kB / 0.6711 GB, free: 6.738 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.000103/0.2108, allocations: 132.3 kB / 0.6712 GB, free: 6.609 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2108, allocations: 0 / 0.6712 GB, free: 6.609 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005532/0.2114, allocations: 240 kB / 0.6715 GB, free: 6.375 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.0002553/0.2116, allocations: 155 kB / 0.6716 GB, free: 6.215 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.2134, allocations: 1.155 MB / 0.6728 GB, free: 5.059 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2134, allocations: 0 / 0.6728 GB, free: 5.059 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.2142, allocations: 0.6358 MB / 0.6734 GB, free: 4.426 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.2147, allocations: 103.9 kB / 0.6735 GB, free: 4.324 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.2186, allocations: 2.824 MB / 0.6762 GB, free: 1.469 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.2191, allocations: 0.9229 MB / 0.6771 GB, free: 0.5195 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007509/0.2199, allocations: 368.8 kB / 0.6775 GB, free: 160 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.2202, allocations: 87.41 kB / 0.6776 GB, free: 72 kB / 0.5139 GB Notification: Performance of SimCode: time 4.31e-07/0.2202, allocations: 0 / 0.6776 GB, free: 72 kB / 0.5139 GB Notification: Performance of Templates: time 0.01645/0.2367, allocations: 9.999 MB / 0.6873 GB, free: 6.121 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