Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 109.7 kB / 17.06 MB, free: 6.023 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.001377/0.001377, allocations: 191.8 kB / 17.99 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.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.097/1.097, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 57.42 kB / 0.5724 GB, free: 38.92 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1825, allocations: 80.7 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002547/0.1851, allocations: 1.388 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009731/0.1861, allocations: 0.5224 MB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.1862, allocations: 0 / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.1863, allocations: 11.88 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.1866, allocations: 51.8 kB / 0.6531 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.1868, allocations: 43.81 kB / 0.6531 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.187, allocations: 191.5 kB / 0.6533 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.1871, allocations: 4.188 kB / 0.6533 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1872, allocations: 79.81 kB / 0.6534 GB, free: 9.289 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1874, allocations: 103.7 kB / 0.6535 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.1875, allocations: 8 kB / 0.6535 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.1876, allocations: 31.97 kB / 0.6535 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1877, allocations: 59.86 kB / 0.6536 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.1878, allocations: 71.64 kB / 0.6537 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.188, allocations: 151.4 kB / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.188, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.188, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.188, allocations: 4 kB / 0.6538 GB, free: 8.867 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008612/0.1889, allocations: 467.2 kB / 0.6543 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1889, allocations: 11.89 kB / 0.6543 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.189, allocations: 16.84 kB / 0.6543 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1893, allocations: 223.7 kB / 0.6545 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1893, allocations: 12.23 kB / 0.6545 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.1893, allocations: 12 kB / 0.6545 GB, free: 8.051 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.1896, allocations: 179.4 kB / 0.6547 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.1897, allocations: 0 / 0.6547 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1897, allocations: 0 / 0.6547 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1897, allocations: 4 kB / 0.6547 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.19, allocations: 144.6 kB / 0.6548 GB, free: 7.727 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1904, allocations: 294.2 kB / 0.6551 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.1914, allocations: 354.7 kB / 0.6554 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.1916, allocations: 124.7 kB / 0.6556 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.1918, allocations: 89.11 kB / 0.6557 GB, free: 6.805 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1918, allocations: 34.56 kB / 0.6557 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.252e-06/0.1918, allocations: 0 / 0.6557 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006639/0.1925, allocations: 374.1 kB / 0.656 GB, free: 6.391 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.1926, allocations: 55.41 kB / 0.6561 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1927, allocations: 133.2 kB / 0.6562 GB, free: 6.188 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1927, allocations: 33.7 kB / 0.6563 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.1928, allocations: 92.69 kB / 0.6563 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1929, allocations: 114.5 kB / 0.6565 GB, free: 5.941 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.193, allocations: 62.02 kB / 0.6565 GB, free: 5.871 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1931, allocations: 334.8 kB / 0.6568 GB, free: 5.535 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1933, allocations: 120.5 kB / 0.6569 GB, free: 5.418 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.1935, allocations: 129.2 kB / 0.6571 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.1939, allocations: 279 kB / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.194, allocations: 0 / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005219/0.1945, allocations: 357.2 kB / 0.6577 GB, free: 4.664 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1945, allocations: 4 kB / 0.6577 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1945, allocations: 8 kB / 0.6577 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1945, allocations: 0 / 0.6577 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.1949, allocations: 71.91 kB / 0.6578 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1949, allocations: 4 kB / 0.6578 GB, free: 4.578 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.195, allocations: 15.84 kB / 0.6578 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.195, allocations: 12 kB / 0.6578 GB, free: 4.551 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 (39): * Single equations (assignments): 39 * 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.000118/0.1951, allocations: 142.6 kB / 0.6579 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.1952, allocations: 15.81 kB / 0.6579 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/0.1959, allocations: 407.3 kB / 0.6583 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1959, allocations: 4 kB / 0.6583 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1959, allocations: 4 kB / 0.6583 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1959, allocations: 0 / 0.6583 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1963, allocations: 313.2 kB / 0.6586 GB, free: 3.613 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1963, allocations: 0 / 0.6586 GB, free: 3.613 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.1967, allocations: 87.91 kB / 0.6587 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1967, allocations: 3.984 kB / 0.6587 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.1967, allocations: 15.98 kB / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1968, allocations: 0 / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1968, allocations: 0 / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.1975, allocations: 0.5335 MB / 0.6593 GB, free: 2.953 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1976, allocations: 132.7 kB / 0.6594 GB, free: 2.805 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.1977, allocations: 11.98 kB / 0.6594 GB, free: 2.793 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1978, allocations: 12 kB / 0.6594 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.1979, allocations: 23.97 kB / 0.6594 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1979, allocations: 12 kB / 0.6594 GB, free: 2.746 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.198, allocations: 99.25 kB / 0.6595 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.198, allocations: 0 / 0.6595 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002771/0.1983, allocations: 64 kB / 0.6596 GB, free: 2.586 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001921/0.1985, allocations: 123.7 kB / 0.6597 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.199, allocations: 311.9 kB / 0.66 GB, free: 2.152 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.199, allocations: 0 / 0.66 GB, free: 2.152 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.1992, allocations: 167.8 kB / 0.6602 GB, free: 1.988 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1995, allocations: 35.97 kB / 0.6602 GB, free: 1.953 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2008, allocations: 0.8431 MB / 0.661 GB, free: 1.086 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.2013, allocations: 0.7488 MB / 0.6618 GB, free: 316 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.2015, allocations: 89.86 kB / 0.6618 GB, free: 224 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.2016, allocations: 27.42 kB / 0.6619 GB, free: 196 kB / 0.4983 GB Notification: Performance of SimCode: time 2.184e-06/0.2016, allocations: 112 / 0.6619 GB, free: 196 kB / 0.4983 GB Notification: Performance of Templates: time 0.006644/0.2082, allocations: 3.039 MB / 0.6648 GB, free: 13.19 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches