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.00136/0.00136, allocations: 108.8 kB / 17.17 MB, free: 6.32 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.001222/0.001222, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9044/0.9044, allocations: 119.3 MB / 411.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 55.91 kB / 0.4922 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4522, allocations: 80.69 MB / 0.571 GB, free: 43.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002164/0.4544, allocations: 1.451 MB / 0.5724 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007337/0.4552, allocations: 0.5129 MB / 0.5729 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.4552, allocations: 1.625 kB / 0.5729 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.57e-05/0.4553, allocations: 11.92 kB / 0.5729 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.4556, allocations: 50.73 kB / 0.573 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.897e-05/0.4557, allocations: 32.56 kB / 0.573 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.4559, allocations: 244.2 kB / 0.5733 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.456, allocations: 4.312 kB / 0.5733 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.4561, allocations: 71.78 kB / 0.5733 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.4562, allocations: 107.5 kB / 0.5734 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.4563, allocations: 12.38 kB / 0.5734 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.4564, allocations: 30.7 kB / 0.5735 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.849e-05/0.4565, allocations: 62.48 kB / 0.5735 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.4566, allocations: 78.75 kB / 0.5736 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.4567, allocations: 93.08 kB / 0.5737 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4567, allocations: 0 / 0.5737 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.12e-07/0.4567, allocations: 0 / 0.5737 GB, free: 41.91 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.4567, allocations: 0 / 0.5737 GB, free: 41.91 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.0006617/0.4574, allocations: 472.8 kB / 0.5741 GB, free: 41.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4574, allocations: 13.3 kB / 0.5742 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.4575, allocations: 15.62 kB / 0.5742 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.4576, allocations: 217.6 kB / 0.5744 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4577, allocations: 9.797 kB / 0.5744 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.4577, allocations: 20.59 kB / 0.5744 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.458, allocations: 172 kB / 0.5746 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.458, allocations: 1.219 kB / 0.5746 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.458, allocations: 5.219 kB / 0.5746 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.458, allocations: 2.375 kB / 0.5746 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.4583, allocations: 148.2 kB / 0.5747 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.4585, allocations: 285.1 kB / 0.575 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.4594, allocations: 352.7 kB / 0.5753 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.4596, allocations: 120.3 kB / 0.5755 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.4598, allocations: 84.86 kB / 0.5755 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4598, allocations: 43.55 kB / 0.5756 GB, free: 40.42 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.4598, allocations: 0.9062 kB / 0.5756 GB, free: 40.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006137/0.4604, allocations: 377.5 kB / 0.5759 GB, free: 40.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.4605, allocations: 58.69 kB / 0.576 GB, free: 40.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.4605, allocations: 132.9 kB / 0.5761 GB, free: 40.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.4606, allocations: 35.06 kB / 0.5762 GB, free: 40.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.4606, allocations: 91.42 kB / 0.5762 GB, free: 39.93 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.4607, allocations: 107.5 kB / 0.5763 GB, free: 39.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/0.4608, allocations: 68.17 kB / 0.5764 GB, free: 39.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.4608, allocations: 331.5 kB / 0.5767 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.461, allocations: 120.9 kB / 0.5768 GB, free: 39.4 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.4612, allocations: 127.1 kB / 0.577 GB, free: 39.35 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.4615, allocations: 276.1 kB / 0.5772 GB, free: 39.22 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4616, allocations: 3.938 kB / 0.5772 GB, free: 39.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004595/0.462, allocations: 360 kB / 0.5776 GB, free: 39.04 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.462, allocations: 8.156 kB / 0.5776 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4621, allocations: 0 / 0.5776 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4621, allocations: 5.375 kB / 0.5776 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.4624, allocations: 75.03 kB / 0.5777 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4624, allocations: 1.375 kB / 0.5777 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.4625, allocations: 23.81 kB / 0.5777 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.4625, allocations: 16.23 kB / 0.5777 GB, free: 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 8.99e-05/0.4626, allocations: 136.7 kB / 0.5778 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4627, allocations: 10.78 kB / 0.5778 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006071/0.4633, allocations: 406.4 kB / 0.5782 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4633, allocations: 4.594 kB / 0.5782 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4633, allocations: 0 / 0.5782 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4633, allocations: 3.984 kB / 0.5782 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.4636, allocations: 318 kB / 0.5785 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4636, allocations: 8.938 kB / 0.5785 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.464, allocations: 83.23 kB / 0.5786 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.464, allocations: 1.844 kB / 0.5786 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.4641, allocations: 13.53 kB / 0.5786 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4641, allocations: 0.9062 kB / 0.5786 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4641, allocations: 0.9375 kB / 0.5786 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/0.4649, allocations: 0.5335 MB / 0.5792 GB, free: 38.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.465, allocations: 125.1 kB / 0.5793 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.465, allocations: 16.58 kB / 0.5793 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4651, allocations: 4.938 kB / 0.5793 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.4652, allocations: 23.97 kB / 0.5793 GB, free: 37.87 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4652, allocations: 8.25 kB / 0.5793 GB, free: 37.87 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.4653, allocations: 105.1 kB / 0.5794 GB, free: 37.78 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4653, allocations: 0 / 0.5794 GB, free: 37.78 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002785/0.4655, allocations: 69.19 kB / 0.5795 GB, free: 37.77 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.0001372/0.4657, allocations: 116.2 kB / 0.5796 GB, free: 37.66 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.4662, allocations: 305.8 kB / 0.5799 GB, free: 37.54 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4662, allocations: 1.25 kB / 0.5799 GB, free: 37.54 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.4664, allocations: 168.8 kB / 0.5801 GB, free: 37.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.4667, allocations: 33.8 kB / 0.5801 GB, free: 37.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.4678, allocations: 0.9501 MB / 0.581 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.468, allocations: 0.7437 MB / 0.5817 GB, free: 36.02 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4681, allocations: 31.62 kB / 0.5818 GB, free: 36.02 MB / 462.3 MB Notification: Performance of SimCode: time 3.61e-07/0.4681, allocations: 0 / 0.5818 GB, free: 36.02 MB / 462.3 MB Notification: Performance of Templates: time 0.004254/0.4724, allocations: 2.96 MB / 0.5847 GB, free: 34.5 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