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.00114/0.00114, allocations: 109.1 kB / 16.62 MB, free: 6.953 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.001105/0.001105, allocations: 197.9 kB / 17.55 MB, free: 6.039 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.168/1.168, allocations: 222.9 MB / 241.2 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7555/0.7555, allocations: 119.3 MB / 410.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 59.91 kB / 0.4918 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3887, allocations: 80.69 MB / 0.5706 GB, free: 43.31 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001751/0.3905, allocations: 1.445 MB / 0.572 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005548/0.391, allocations: 0.513 MB / 0.5725 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.3911, allocations: 4 kB / 0.5725 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.709e-05/0.3912, allocations: 9.344 kB / 0.5725 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3914, allocations: 41.69 kB / 0.5725 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.1e-05/0.3915, allocations: 39.39 kB / 0.5726 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3916, allocations: 192 kB / 0.5728 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.3917, allocations: 12.12 kB / 0.5728 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.3918, allocations: 69.03 kB / 0.5728 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3919, allocations: 107.7 kB / 0.5729 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3919, allocations: 16.23 kB / 0.573 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-05/0.392, allocations: 27.23 kB / 0.573 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.3921, allocations: 65.97 kB / 0.573 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.3921, allocations: 71.17 kB / 0.5731 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3923, allocations: 138.7 kB / 0.5732 GB, free: 41.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3923, allocations: 4 kB / 0.5733 GB, free: 41.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3923, allocations: 1.344 kB / 0.5733 GB, free: 41.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3923, allocations: 0 / 0.5733 GB, free: 41.32 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.0005817/0.3929, allocations: 471 kB / 0.5737 GB, free: 40.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.3929, allocations: 12.92 kB / 0.5737 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.393, allocations: 20.94 kB / 0.5737 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3931, allocations: 215.2 kB / 0.5739 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3931, allocations: 16.83 kB / 0.574 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3932, allocations: 18.03 kB / 0.574 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3934, allocations: 175.6 kB / 0.5741 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3934, allocations: 0 / 0.5741 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3935, allocations: 6.594 kB / 0.5741 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3935, allocations: 2.281 kB / 0.5741 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.3937, allocations: 147.4 kB / 0.5743 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.3939, allocations: 284.9 kB / 0.5746 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.3947, allocations: 353.6 kB / 0.5749 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3949, allocations: 120.2 kB / 0.575 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.395, allocations: 88.12 kB / 0.5751 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.395, allocations: 39.98 kB / 0.5751 GB, free: 39.81 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.252e-06/0.395, allocations: 1.281 kB / 0.5751 GB, free: 39.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005315/0.3956, allocations: 381.3 kB / 0.5755 GB, free: 39.63 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.3956, allocations: 58.88 kB / 0.5756 GB, free: 39.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.3957, allocations: 138.8 kB / 0.5757 GB, free: 39.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3957, allocations: 30.89 kB / 0.5757 GB, free: 39.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.3957, allocations: 90.92 kB / 0.5758 GB, free: 39.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.3958, allocations: 111.4 kB / 0.5759 GB, free: 39.22 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.3958, allocations: 60.47 kB / 0.576 GB, free: 39.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.863e-05/0.3959, allocations: 335.6 kB / 0.5763 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.396, allocations: 124 kB / 0.5764 GB, free: 38.8 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3962, allocations: 128.2 kB / 0.5765 GB, free: 38.74 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.3965, allocations: 276.5 kB / 0.5768 GB, free: 38.62 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3965, allocations: 0 / 0.5768 GB, free: 38.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004206/0.397, allocations: 351.6 kB / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.397, allocations: 4.812 kB / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.397, allocations: 0 / 0.5771 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.397, allocations: 10.28 kB / 0.5771 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3973, allocations: 78.77 kB / 0.5772 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3973, allocations: 5.125 kB / 0.5772 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/0.3974, allocations: 23.66 kB / 0.5772 GB, free: 38.4 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3974, allocations: 11.94 kB / 0.5773 GB, free: 38.39 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.193e-05/0.3975, allocations: 137.5 kB / 0.5774 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3975, allocations: 10.59 kB / 0.5774 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.3981, allocations: 406.1 kB / 0.5778 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3981, allocations: 4.625 kB / 0.5778 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3981, allocations: 0 / 0.5778 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3981, allocations: 5.109 kB / 0.5778 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3983, allocations: 310.3 kB / 0.5781 GB, free: 37.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3983, allocations: 7.984 kB / 0.5781 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.3987, allocations: 82.91 kB / 0.5782 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3987, allocations: 1.312 kB / 0.5782 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.3987, allocations: 13.73 kB / 0.5782 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3988, allocations: 1.719 kB / 0.5782 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3988, allocations: 1.344 kB / 0.5782 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.3993, allocations: 0.5299 MB / 0.5787 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.3994, allocations: 124.1 kB / 0.5788 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.3995, allocations: 16.12 kB / 0.5788 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3996, allocations: 5.375 kB / 0.5788 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3996, allocations: 24.33 kB / 0.5789 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3996, allocations: 12.25 kB / 0.5789 GB, free: 37.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.519e-05/0.3997, allocations: 99.05 kB / 0.579 GB, free: 37.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3997, allocations: 0 / 0.579 GB, free: 37.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002387/0.3999, allocations: 69.25 kB / 0.579 GB, free: 37.18 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.0001021/0.4, allocations: 128.2 kB / 0.5792 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.4006, allocations: 386 kB / 0.5795 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.4006, allocations: 0 / 0.5795 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.4008, allocations: 169.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.000217/0.401, allocations: 36.77 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.001031/0.4021, allocations: 0.9163 MB / 0.5806 GB, free: 36.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.4022, allocations: 0.7543 MB / 0.5814 GB, free: 35.43 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.4024, allocations: 89.34 kB / 0.5814 GB, free: 35.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/0.4025, allocations: 29.86 kB / 0.5815 GB, free: 35.38 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.4025, allocations: 0.9062 kB / 0.5815 GB, free: 35.38 MB / 462.3 MB Notification: Performance of Templates: time 0.004758/0.4072, allocations: 2.973 MB / 0.5844 GB, free: 33.95 MB / 462.3 MB 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches