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.001243/0.001247, allocations: 110.5 kB / 17.16 MB, free: 6.328 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.001285/0.001285, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.312/1.312, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8818/0.8818, allocations: 119.3 MB / 411.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 0.4922 GB, free: 12.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4493, allocations: 80.67 MB / 0.571 GB, free: 44.14 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002054/0.4514, allocations: 1.444 MB / 0.5724 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006868/0.4521, allocations: 0.5301 MB / 0.5729 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.4522, allocations: 0 / 0.5729 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.726e-05/0.4523, allocations: 3.984 kB / 0.5729 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.4525, allocations: 50.86 kB / 0.573 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.276e-05/0.4526, allocations: 29.78 kB / 0.573 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.4528, allocations: 247.8 kB / 0.5733 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.4528, allocations: 7.219 kB / 0.5733 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.453, allocations: 71.75 kB / 0.5733 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.4531, allocations: 105.7 kB / 0.5734 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.4532, allocations: 11.62 kB / 0.5734 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.4533, allocations: 30.69 kB / 0.5735 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.4534, allocations: 61.92 kB / 0.5735 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.4534, allocations: 71.23 kB / 0.5736 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.4536, allocations: 92.09 kB / 0.5737 GB, free: 42.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4536, allocations: 4 kB / 0.5737 GB, free: 42.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.01e-07/0.4536, allocations: 1.062 kB / 0.5737 GB, free: 42.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.4536, allocations: 0 / 0.5737 GB, free: 42.15 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.000676/0.4543, allocations: 484 kB / 0.5742 GB, free: 41.7 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.4543, allocations: 8.812 kB / 0.5742 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.4544, allocations: 17.5 kB / 0.5742 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.4545, allocations: 208.2 kB / 0.5744 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4546, allocations: 12.36 kB / 0.5744 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.4546, allocations: 18.5 kB / 0.5744 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.4549, allocations: 179.7 kB / 0.5746 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.4549, allocations: 0 / 0.5746 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.4549, allocations: 5.344 kB / 0.5746 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4549, allocations: 6.594 kB / 0.5746 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.4552, allocations: 148.5 kB / 0.5747 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.4554, allocations: 283.6 kB / 0.575 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.4563, allocations: 354 kB / 0.5753 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.4565, allocations: 120.1 kB / 0.5755 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.4567, allocations: 91.97 kB / 0.5755 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.4567, allocations: 33.16 kB / 0.5756 GB, free: 40.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.273e-06/0.4567, allocations: 0 / 0.5756 GB, free: 40.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006145/0.4573, allocations: 380.8 kB / 0.5759 GB, free: 40.46 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.4574, allocations: 53.91 kB / 0.576 GB, free: 40.4 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.4574, allocations: 138.8 kB / 0.5761 GB, free: 40.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4575, allocations: 34.83 kB / 0.5762 GB, free: 40.24 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.4575, allocations: 86.95 kB / 0.5762 GB, free: 40.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.4576, allocations: 112.1 kB / 0.5763 GB, free: 40.06 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.4576, allocations: 60.41 kB / 0.5764 GB, free: 40.02 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.4577, allocations: 335.8 kB / 0.5767 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.4579, allocations: 123.7 kB / 0.5768 GB, free: 39.63 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.458, allocations: 132.2 kB / 0.577 GB, free: 39.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.4584, allocations: 276 kB / 0.5772 GB, free: 39.45 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4584, allocations: 4 kB / 0.5772 GB, free: 39.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004503/0.4589, allocations: 355.6 kB / 0.5776 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4589, allocations: 5.5 kB / 0.5776 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4589, allocations: 0 / 0.5776 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4589, allocations: 5.312 kB / 0.5776 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.4592, allocations: 83.02 kB / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4593, allocations: 1.375 kB / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4594, allocations: 23.81 kB / 0.5777 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.4594, allocations: 8.25 kB / 0.5777 GB, free: 39.23 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.429e-05/0.4595, allocations: 144.7 kB / 0.5778 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.4595, allocations: 12.16 kB / 0.5778 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/0.4601, allocations: 398.3 kB / 0.5782 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4601, allocations: 7.469 kB / 0.5782 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4602, allocations: 0 / 0.5782 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4602, allocations: 8.859 kB / 0.5782 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.4604, allocations: 314.1 kB / 0.5785 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4604, allocations: 0 / 0.5785 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.4609, allocations: 83.22 kB / 0.5786 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4609, allocations: 1.875 kB / 0.5786 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4609, allocations: 13.48 kB / 0.5786 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4609, allocations: 1.875 kB / 0.5786 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4609, allocations: 0 / 0.5786 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.4617, allocations: 0.5307 MB / 0.5791 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.4618, allocations: 128.1 kB / 0.5793 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.4618, allocations: 8.594 kB / 0.5793 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4619, allocations: 9.844 kB / 0.5793 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.462, allocations: 23.12 kB / 0.5793 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.462, allocations: 16.25 kB / 0.5793 GB, free: 38.1 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.4621, allocations: 99.27 kB / 0.5794 GB, free: 38.02 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4621, allocations: 0.9375 kB / 0.5794 GB, free: 38.02 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002776/0.4624, allocations: 76.19 kB / 0.5795 GB, free: 38 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.0001335/0.4625, allocations: 112.4 kB / 0.5796 GB, free: 37.9 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.463, allocations: 310.4 kB / 0.5799 GB, free: 37.77 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.463, allocations: 0 / 0.5799 GB, free: 37.77 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.4632, allocations: 166.1 kB / 0.5801 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.4635, allocations: 36.55 kB / 0.5801 GB, free: 37.69 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4646, allocations: 0.9387 MB / 0.581 GB, free: 36.98 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.4648, allocations: 0.7449 MB / 0.5817 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.4649, allocations: 30.36 kB / 0.5818 GB, free: 36.26 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4649, allocations: 7.938 kB / 0.5818 GB, free: 36.25 MB / 462.3 MB Notification: Performance of Templates: time 0.004346/0.4693, allocations: 2.968 MB / 0.5847 GB, free: 34.71 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/jenkins1/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