Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001141/0.001141, allocations: 115.7 kB / 16.63 MB, free: 6.332 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.001176/0.001176, allocations: 190 kB / 17.55 MB, free: 5.801 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.171/1.171, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7389/0.7389, allocations: 119.3 MB / 410.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 55.91 kB / 0.4918 GB, free: 12.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3799, allocations: 80.68 MB / 0.5706 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001848/0.3818, allocations: 1.451 MB / 0.572 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.3824, allocations: 0.5165 MB / 0.5725 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.3824, allocations: 1.844 kB / 0.5725 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.3825, allocations: 3.938 kB / 0.5725 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.3827, allocations: 46.92 kB / 0.5725 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.303e-05/0.3828, allocations: 37.97 kB / 0.5726 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.383, allocations: 200.8 kB / 0.5728 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.383, allocations: 6.953 kB / 0.5728 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.069e-05/0.3831, allocations: 73.89 kB / 0.5728 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3832, allocations: 103.8 kB / 0.5729 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3833, allocations: 7.625 kB / 0.5729 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.3833, allocations: 27.52 kB / 0.573 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.3834, allocations: 70.2 kB / 0.573 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.3835, allocations: 71.16 kB / 0.5731 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.3836, allocations: 142.4 kB / 0.5732 GB, free: 41.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3836, allocations: 0 / 0.5732 GB, free: 41.33 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3836, allocations: 1.375 kB / 0.5732 GB, free: 41.33 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3836, allocations: 0 / 0.5732 GB, free: 41.33 MB / 462.3 MB 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.0005847/0.3842, allocations: 478.9 kB / 0.5737 GB, free: 40.89 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.3843, allocations: 13.33 kB / 0.5737 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.3843, allocations: 19.64 kB / 0.5737 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3845, allocations: 217.1 kB / 0.5739 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3845, allocations: 12.98 kB / 0.5739 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3845, allocations: 17.19 kB / 0.574 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3848, allocations: 171.8 kB / 0.5741 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3848, allocations: 4 kB / 0.5741 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.3848, allocations: 9.75 kB / 0.5741 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3848, allocations: 2.25 kB / 0.5741 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.385, allocations: 151.9 kB / 0.5743 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.3852, allocations: 280.9 kB / 0.5746 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.3861, allocations: 353.4 kB / 0.5749 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3862, allocations: 121.2 kB / 0.575 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.3864, allocations: 91.23 kB / 0.5751 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.3864, allocations: 37 kB / 0.5751 GB, free: 39.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.3864, allocations: 0 / 0.5751 GB, free: 39.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005308/0.3869, allocations: 382 kB / 0.5755 GB, free: 39.64 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.3869, allocations: 58.81 kB / 0.5755 GB, free: 39.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.387, allocations: 133.9 kB / 0.5757 GB, free: 39.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.387, allocations: 31.05 kB / 0.5757 GB, free: 39.42 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.3871, allocations: 91.45 kB / 0.5758 GB, free: 39.33 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.3871, allocations: 107 kB / 0.5759 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.3872, allocations: 60.38 kB / 0.576 GB, free: 39.2 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.3873, allocations: 336.1 kB / 0.5763 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3874, allocations: 119.8 kB / 0.5764 GB, free: 38.81 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.3876, allocations: 127 kB / 0.5765 GB, free: 38.76 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.3879, allocations: 285.6 kB / 0.5768 GB, free: 38.62 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3879, allocations: 0 / 0.5768 GB, free: 38.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004129/0.3883, allocations: 350.6 kB / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3883, allocations: 9.344 kB / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3884, allocations: 3.969 kB / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.3884, allocations: 0 / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3887, allocations: 77.36 kB / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3887, allocations: 2 kB / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3888, allocations: 23.88 kB / 0.5772 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.3888, allocations: 15.44 kB / 0.5772 GB, free: 38.4 MB / 462.3 MB 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 7.507e-05/0.3889, allocations: 136.5 kB / 0.5774 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3889, allocations: 11.69 kB / 0.5774 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.3894, allocations: 410.4 kB / 0.5778 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3895, allocations: 3.25 kB / 0.5778 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3895, allocations: 1.094 kB / 0.5778 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3895, allocations: 3.984 kB / 0.5778 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.3897, allocations: 321.8 kB / 0.5781 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3897, allocations: 1.219 kB / 0.5781 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.3901, allocations: 82.28 kB / 0.5782 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3901, allocations: 2.25 kB / 0.5782 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.3901, allocations: 13.64 kB / 0.5782 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3901, allocations: 1.438 kB / 0.5782 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3901, allocations: 4 kB / 0.5782 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.3907, allocations: 0.5308 MB / 0.5787 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.3908, allocations: 128 kB / 0.5788 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3909, allocations: 9.5 kB / 0.5788 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.391, allocations: 5.375 kB / 0.5788 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.391, allocations: 26.95 kB / 0.5789 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.391, allocations: 8.25 kB / 0.5789 GB, free: 37.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.3911, allocations: 107.4 kB / 0.579 GB, free: 37.18 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3911, allocations: 1.375 kB / 0.579 GB, free: 37.18 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002352/0.3913, allocations: 64.48 kB / 0.579 GB, free: 37.17 MB / 462.3 MB 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.0001089/0.3914, allocations: 123.7 kB / 0.5792 GB, free: 37.06 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005231/0.392, allocations: 381.5 kB / 0.5795 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.392, allocations: 0 / 0.5795 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.3922, allocations: 170.2 kB / 0.5797 GB, free: 36.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.3924, allocations: 37.98 kB / 0.5797 GB, free: 36.84 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3935, allocations: 0.9133 MB / 0.5806 GB, free: 36.17 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3936, allocations: 0.7516 MB / 0.5813 GB, free: 35.44 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3938, allocations: 96.89 kB / 0.5814 GB, free: 35.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.3938, allocations: 30.98 kB / 0.5815 GB, free: 35.39 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.3939, allocations: 0 / 0.5815 GB, free: 35.39 MB / 462.3 MB Notification: Performance of Templates: time 0.004693/0.3985, allocations: 2.967 MB / 0.5844 GB, free: 33.93 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches