Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 112.4 kB / 17.06 MB, free: 6 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.001291/0.001291, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.087/1.087, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.47 kB / 0.5724 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1779, allocations: 80.7 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002594/0.1806, allocations: 1.376 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1817, allocations: 0.5146 MB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.1818, allocations: 0 / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1819, allocations: 7.922 kB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.1824, allocations: 67.72 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.1825, allocations: 31.91 kB / 0.6531 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.1829, allocations: 323.3 kB / 0.6534 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.413e-05/0.183, allocations: 4.188 kB / 0.6534 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1832, allocations: 119.8 kB / 0.6535 GB, free: 9.129 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.1834, allocations: 159.6 kB / 0.6537 GB, free: 8.973 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.1835, allocations: 16 kB / 0.6537 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1836, allocations: 39.97 kB / 0.6537 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.1838, allocations: 119.7 kB / 0.6539 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.184, allocations: 127.4 kB / 0.654 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.1843, allocations: 239.1 kB / 0.6542 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1843, allocations: 0 / 0.6542 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1843, allocations: 0 / 0.6542 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.1843, allocations: 3.984 kB / 0.6542 GB, free: 8.438 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001262/0.1856, allocations: 0.5772 MB / 0.6548 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1857, allocations: 15.83 kB / 0.6548 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.1857, allocations: 24.66 kB / 0.6548 GB, free: 7.773 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1861, allocations: 259.6 kB / 0.6551 GB, free: 7.48 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1861, allocations: 16.44 kB / 0.6551 GB, free: 7.465 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.1862, allocations: 35.84 kB / 0.6551 GB, free: 7.43 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.1867, allocations: 323 kB / 0.6554 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1867, allocations: 0 / 0.6554 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.1868, allocations: 8 kB / 0.6554 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1868, allocations: 4 kB / 0.6554 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.1872, allocations: 285.5 kB / 0.6557 GB, free: 6.816 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.1878, allocations: 403.2 kB / 0.6561 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.1895, allocations: 0.6765 MB / 0.6568 GB, free: 5.691 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.1898, allocations: 234 kB / 0.657 GB, free: 5.461 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.1901, allocations: 97.53 kB / 0.6571 GB, free: 5.348 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.1901, allocations: 42.98 kB / 0.6571 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 2.295e-06/0.1901, allocations: 0 / 0.6571 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001225/0.1913, allocations: 0.6917 MB / 0.6578 GB, free: 4.594 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1914, allocations: 55.84 kB / 0.6578 GB, free: 4.527 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1916, allocations: 150.4 kB / 0.658 GB, free: 4.363 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.1916, allocations: 37.7 kB / 0.658 GB, free: 4.32 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.1917, allocations: 93.12 kB / 0.6581 GB, free: 4.223 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.1919, allocations: 213 kB / 0.6583 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.192, allocations: 114.3 kB / 0.6584 GB, free: 3.895 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1922, allocations: 338.8 kB / 0.6587 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.1926, allocations: 241.1 kB / 0.659 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.1929, allocations: 245.7 kB / 0.6592 GB, free: 3.078 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.1937, allocations: 0.5282 MB / 0.6597 GB, free: 2.547 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1937, allocations: 0 / 0.6597 GB, free: 2.547 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009425/0.1946, allocations: 0.6452 MB / 0.6604 GB, free: 1.895 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1947, allocations: 4 kB / 0.6604 GB, free: 1.891 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1947, allocations: 4 kB / 0.6604 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1947, allocations: 4 kB / 0.6604 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.1952, allocations: 147.8 kB / 0.6605 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1953, allocations: 0 / 0.6605 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.1955, allocations: 39.53 kB / 0.6605 GB, free: 1.699 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.1955, allocations: 27.98 kB / 0.6606 GB, free: 1.672 MB / 0.4983 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 (74): * Single equations (assignments): 74 * 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.0001708/0.1957, allocations: 162.5 kB / 0.6607 GB, free: 1.504 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.1957, allocations: 23.72 kB / 0.6607 GB, free: 1.48 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.197, allocations: 0.7282 MB / 0.6615 GB, free: 0.75 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.197, allocations: 15.94 kB / 0.6615 GB, free: 0.7344 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1971, allocations: 3.938 kB / 0.6615 GB, free: 0.7305 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1971, allocations: 3.984 kB / 0.6615 GB, free: 0.7266 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.1976, allocations: 453.6 kB / 0.6619 GB, free: 240 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1976, allocations: 0 / 0.6619 GB, free: 240 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.1984, allocations: 159.8 kB / 0.6621 GB, free: 80 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.1984, allocations: 4 kB / 0.6621 GB, free: 76 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.1985, allocations: 19.98 kB / 0.6621 GB, free: 56 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.1985, allocations: 7.938 kB / 0.6621 GB, free: 48 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1985, allocations: 0 / 0.6621 GB, free: 48 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.1999, allocations: 0.9659 MB / 0.663 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.2001, allocations: 180.6 kB / 0.6632 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.2002, allocations: 19.98 kB / 0.6632 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2004, allocations: 12 kB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.2005, allocations: 44.59 kB / 0.6633 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.2005, allocations: 20 kB / 0.6633 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.217e-05/0.2006, allocations: 111.2 kB / 0.6634 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2006, allocations: 3.938 kB / 0.6634 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003736/0.201, allocations: 124 kB / 0.6635 GB, free: 14.54 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0002233/0.2012, allocations: 135 kB / 0.6637 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000975/0.2022, allocations: 0.5833 MB / 0.6642 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2022, allocations: 0 / 0.6642 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.2027, allocations: 331.5 kB / 0.6645 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.2031, allocations: 63.91 kB / 0.6646 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.2054, allocations: 1.503 MB / 0.6661 GB, free: 11.89 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.2058, allocations: 0.809 MB / 0.6669 GB, free: 11.06 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003806/0.2062, allocations: 175.1 kB / 0.667 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.2064, allocations: 51.42 kB / 0.6671 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of SimCode: time 6.32e-07/0.2064, allocations: 0 / 0.6671 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of Templates: time 0.01034/0.2167, allocations: 5.346 MB / 0.6723 GB, free: 5.535 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches