Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 101.8 kB / 16.62 MB, free: 6.812 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.001182/0.001181, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.155/1.155, allocations: 222.9 MB / 241.2 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.7453/0.7453, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 59.91 kB / 0.4918 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3786, allocations: 80.68 MB / 0.5706 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001936/0.3806, allocations: 1.444 MB / 0.572 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006275/0.3813, allocations: 0.5121 MB / 0.5725 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.3813, allocations: 3.938 kB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.001e-05/0.3814, allocations: 5.516 kB / 0.5725 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.3816, allocations: 58.14 kB / 0.5725 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.495e-05/0.3817, allocations: 31.59 kB / 0.5726 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3819, allocations: 316.1 kB / 0.5729 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.382, allocations: 4.312 kB / 0.5729 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3821, allocations: 120.2 kB / 0.573 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.3823, allocations: 167.8 kB / 0.5732 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.3824, allocations: 16 kB / 0.5732 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.3825, allocations: 37.94 kB / 0.5732 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3826, allocations: 120.3 kB / 0.5733 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3827, allocations: 131.8 kB / 0.5734 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3829, allocations: 234.6 kB / 0.5737 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3829, allocations: 5.547 kB / 0.5737 GB, free: 41.65 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3829, allocations: 0 / 0.5737 GB, free: 41.65 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3829, allocations: 0 / 0.5737 GB, free: 41.65 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008749/0.3838, allocations: 0.5792 MB / 0.5742 GB, free: 41.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.3838, allocations: 13.67 kB / 0.5743 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.3839, allocations: 26.06 kB / 0.5743 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3841, allocations: 257.8 kB / 0.5745 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3841, allocations: 13.78 kB / 0.5745 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.3842, allocations: 32.69 kB / 0.5746 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.3846, allocations: 315.9 kB / 0.5749 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3846, allocations: 0 / 0.5749 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3847, allocations: 10.28 kB / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3847, allocations: 4.906 kB / 0.5749 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.3851, allocations: 287.2 kB / 0.5752 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3854, allocations: 402.8 kB / 0.5755 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.3869, allocations: 0.686 MB / 0.5762 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.3872, allocations: 233.3 kB / 0.5764 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.3873, allocations: 95.31 kB / 0.5765 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.3874, allocations: 45.89 kB / 0.5766 GB, free: 39.64 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.533e-06/0.3874, allocations: 3.938 kB / 0.5766 GB, free: 39.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0009747/0.3884, allocations: 0.6909 MB / 0.5773 GB, free: 39.32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.3884, allocations: 56.47 kB / 0.5773 GB, free: 39.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.3885, allocations: 154.3 kB / 0.5775 GB, free: 39.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3885, allocations: 35.55 kB / 0.5775 GB, free: 39.08 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.3886, allocations: 96.81 kB / 0.5776 GB, free: 38.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3887, allocations: 206.9 kB / 0.5778 GB, free: 38.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.3888, allocations: 110.3 kB / 0.5779 GB, free: 38.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.3889, allocations: 343.1 kB / 0.5782 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.3892, allocations: 237.9 kB / 0.5784 GB, free: 38.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.3895, allocations: 246.1 kB / 0.5787 GB, free: 38.19 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.3901, allocations: 0.5272 MB / 0.5792 GB, free: 37.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3902, allocations: 1.25 kB / 0.5792 GB, free: 37.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007702/0.3909, allocations: 0.6426 MB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.391, allocations: 6.344 kB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.391, allocations: 4 kB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.391, allocations: 6.531 kB / 0.5798 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.3915, allocations: 143.5 kB / 0.58 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3915, allocations: 6.469 kB / 0.58 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3917, allocations: 37.84 kB / 0.58 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3917, allocations: 23.14 kB / 0.58 GB, free: 37.56 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 (74): * Single equations (assignments): 74 * 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 0.0001178/0.3919, allocations: 157.9 kB / 0.5802 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.3919, allocations: 24.34 kB / 0.5802 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009595/0.3929, allocations: 0.7316 MB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3929, allocations: 7.562 kB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3929, allocations: 3.938 kB / 0.5809 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3929, allocations: 3.984 kB / 0.5809 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.3933, allocations: 459.1 kB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3933, allocations: 0.9062 kB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/0.394, allocations: 158.2 kB / 0.5815 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.394, allocations: 2.781 kB / 0.5815 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.3941, allocations: 26.08 kB / 0.5815 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3941, allocations: 2.75 kB / 0.5816 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3941, allocations: 8.875 kB / 0.5816 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3952, allocations: 0.9591 MB / 0.5825 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3954, allocations: 177.5 kB / 0.5827 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.3954, allocations: 20.36 kB / 0.5827 GB, free: 35.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3956, allocations: 10.16 kB / 0.5827 GB, free: 35.95 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.3957, allocations: 46.69 kB / 0.5827 GB, free: 35.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.3957, allocations: 18.44 kB / 0.5828 GB, free: 35.92 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.3958, allocations: 117.1 kB / 0.5829 GB, free: 35.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3958, allocations: 0 / 0.5829 GB, free: 35.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003321/0.3961, allocations: 122.8 kB / 0.583 GB, free: 35.8 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001546/0.3963, allocations: 135.4 kB / 0.5831 GB, free: 35.69 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.3974, allocations: 0.8422 MB / 0.5839 GB, free: 35.42 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3974, allocations: 1.188 kB / 0.5839 GB, free: 35.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.3978, allocations: 331.8 kB / 0.5843 GB, free: 35.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3981, allocations: 60.09 kB / 0.5843 GB, free: 35.25 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3997, allocations: 1.627 MB / 0.5859 GB, free: 33.6 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3999, allocations: 0.809 MB / 0.5867 GB, free: 32.77 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.4002, allocations: 175.1 kB / 0.5869 GB, free: 32.6 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.4004, allocations: 51.42 kB / 0.5869 GB, free: 32.55 MB / 462.3 MB Notification: Performance of SimCode: time 3.7e-07/0.4004, allocations: 0 / 0.5869 GB, free: 32.55 MB / 462.3 MB Notification: Performance of Templates: time 0.006761/0.4071, allocations: 5.221 MB / 0.592 GB, free: 27.37 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches