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.001172/0.001172, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001122/0.001122, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.159/1.159, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7623/0.7623, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.91 kB / 0.4923 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3827, allocations: 80.69 MB / 0.5711 GB, free: 43.75 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.00185/0.3846, allocations: 1.385 MB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006185/0.3852, allocations: 0.5085 MB / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.3853, allocations: 1 kB / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.3854, allocations: 9.203 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.3856, allocations: 54.14 kB / 0.573 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.818e-05/0.3857, allocations: 41.59 kB / 0.5731 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.3859, allocations: 196.3 kB / 0.5732 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.3859, allocations: 4.25 kB / 0.5732 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.386, allocations: 80.78 kB / 0.5733 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.3862, allocations: 92.52 kB / 0.5734 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.3862, allocations: 8.094 kB / 0.5734 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.3863, allocations: 35.75 kB / 0.5735 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.3864, allocations: 65.16 kB / 0.5735 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.3865, allocations: 71.67 kB / 0.5736 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3866, allocations: 142.9 kB / 0.5737 GB, free: 41.81 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3866, allocations: 0 / 0.5737 GB, free: 41.81 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3866, allocations: 3.938 kB / 0.5737 GB, free: 41.81 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3866, allocations: 5.062 kB / 0.5737 GB, free: 41.8 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.0006301/0.3873, allocations: 475.2 kB / 0.5742 GB, free: 41.36 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.3873, allocations: 16.3 kB / 0.5742 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.3874, allocations: 17 kB / 0.5742 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3875, allocations: 212.5 kB / 0.5744 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3876, allocations: 13.05 kB / 0.5744 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.3876, allocations: 24.8 kB / 0.5745 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.3879, allocations: 170.2 kB / 0.5746 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3879, allocations: 0 / 0.5746 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.388, allocations: 5.25 kB / 0.5746 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.388, allocations: 6.828 kB / 0.5746 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.3882, allocations: 145 kB / 0.5748 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.3885, allocations: 287.9 kB / 0.575 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.3893, allocations: 355.9 kB / 0.5754 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.3895, allocations: 117.1 kB / 0.5755 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.3896, allocations: 92.44 kB / 0.5756 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.3897, allocations: 35.72 kB / 0.5756 GB, free: 40.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.132e-06/0.3897, allocations: 0 / 0.5756 GB, free: 40.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005359/0.3902, allocations: 384.7 kB / 0.576 GB, free: 40.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.3902, allocations: 55 kB / 0.576 GB, free: 40.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.3903, allocations: 132 kB / 0.5762 GB, free: 39.94 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3903, allocations: 31.36 kB / 0.5762 GB, free: 39.9 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.3904, allocations: 98.16 kB / 0.5763 GB, free: 39.8 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.3904, allocations: 107.9 kB / 0.5764 GB, free: 39.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.3905, allocations: 63.77 kB / 0.5764 GB, free: 39.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.3906, allocations: 332.5 kB / 0.5768 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3907, allocations: 120.2 kB / 0.5769 GB, free: 39.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.3909, allocations: 127.9 kB / 0.577 GB, free: 39.23 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.3912, allocations: 283.6 kB / 0.5773 GB, free: 39.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3912, allocations: 0 / 0.5773 GB, free: 39.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004023/0.3916, allocations: 348.2 kB / 0.5776 GB, free: 38.93 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3916, allocations: 9.5 kB / 0.5776 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3917, allocations: 7.969 kB / 0.5776 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3917, allocations: 1.375 kB / 0.5776 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.3919, allocations: 74.47 kB / 0.5777 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.392, allocations: 5.812 kB / 0.5777 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3921, allocations: 24.16 kB / 0.5777 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.3921, allocations: 11.66 kB / 0.5777 GB, free: 38.88 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.742e-05/0.3922, allocations: 140.3 kB / 0.5779 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3922, allocations: 15.62 kB / 0.5779 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.3928, allocations: 406.6 kB / 0.5783 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3928, allocations: 3.688 kB / 0.5783 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3928, allocations: 0.9062 kB / 0.5783 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3928, allocations: 7.984 kB / 0.5783 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.393, allocations: 317.5 kB / 0.5786 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.393, allocations: 1.375 kB / 0.5786 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.3934, allocations: 79.19 kB / 0.5787 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3934, allocations: 0.9062 kB / 0.5787 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.3935, allocations: 22.45 kB / 0.5787 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3935, allocations: 0.9062 kB / 0.5787 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3935, allocations: 0.9375 kB / 0.5787 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.3942, allocations: 0.5259 MB / 0.5792 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.3942, allocations: 124.2 kB / 0.5793 GB, free: 37.77 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.3943, allocations: 12.58 kB / 0.5793 GB, free: 37.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3944, allocations: 5.844 kB / 0.5793 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3944, allocations: 23.97 kB / 0.5794 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3945, allocations: 7.375 kB / 0.5794 GB, free: 37.75 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.3945, allocations: 108 kB / 0.5795 GB, free: 37.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3945, allocations: 0 / 0.5795 GB, free: 37.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002452/0.3948, allocations: 67.28 kB / 0.5795 GB, free: 37.65 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.0001132/0.3949, allocations: 114.8 kB / 0.5796 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005175/0.3954, allocations: 386.7 kB / 0.58 GB, free: 37.41 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3954, allocations: 3.938 kB / 0.58 GB, free: 37.41 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.3956, allocations: 168.2 kB / 0.5802 GB, free: 37.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.3958, allocations: 32.55 kB / 0.5802 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3969, allocations: 0.8555 MB / 0.581 GB, free: 36.71 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.397, allocations: 0.7472 MB / 0.5818 GB, free: 35.98 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.3972, allocations: 96.06 kB / 0.5819 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.3973, allocations: 26.34 kB / 0.5819 GB, free: 35.94 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.3973, allocations: 0 / 0.5819 GB, free: 35.94 MB / 462.3 MB Notification: Performance of Templates: time 0.005115/0.4024, allocations: 2.982 MB / 0.5848 GB, free: 34.47 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches