Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001277/0.001277, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001319/0.001319, allocations: 183 kB / 18.62 MB, free: 4.5 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.239/1.239, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8136/0.8136, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 0.4937 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4001, allocations: 80.69 MB / 0.5725 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001947/0.4021, allocations: 1.376 MB / 0.5739 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006228/0.4027, allocations: 0.5134 MB / 0.5744 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.4028, allocations: 0 / 0.5744 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.871e-05/0.4028, allocations: 9.672 kB / 0.5744 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.4031, allocations: 57.86 kB / 0.5744 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.37e-05/0.4032, allocations: 37.55 kB / 0.5745 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.4034, allocations: 316.5 kB / 0.5748 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.4035, allocations: 9.609 kB / 0.5748 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.4036, allocations: 123.4 kB / 0.5749 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.4038, allocations: 159.9 kB / 0.5751 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.4039, allocations: 15.25 kB / 0.5751 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.702e-05/0.404, allocations: 38.28 kB / 0.5751 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.4041, allocations: 120.8 kB / 0.5752 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.4042, allocations: 130.5 kB / 0.5753 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.4044, allocations: 238.1 kB / 0.5756 GB, free: 41.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4044, allocations: 0 / 0.5756 GB, free: 41.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4044, allocations: 0 / 0.5756 GB, free: 41.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4044, allocations: 0 / 0.5756 GB, free: 41.68 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.0008702/0.4053, allocations: 0.5837 MB / 0.5761 GB, free: 41.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.4054, allocations: 9.875 kB / 0.5762 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.4054, allocations: 25.78 kB / 0.5762 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.4057, allocations: 261.7 kB / 0.5764 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4057, allocations: 17.47 kB / 0.5764 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.4058, allocations: 29.03 kB / 0.5765 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.4062, allocations: 320.6 kB / 0.5768 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4062, allocations: 4 kB / 0.5768 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.4062, allocations: 9.469 kB / 0.5768 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.4062, allocations: 5.969 kB / 0.5768 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.4066, allocations: 287.1 kB / 0.5771 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.407, allocations: 397.2 kB / 0.5774 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.4084, allocations: 0.6839 MB / 0.5781 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.4087, allocations: 233.4 kB / 0.5783 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.4089, allocations: 99.05 kB / 0.5784 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.4089, allocations: 41.81 kB / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.473e-06/0.4089, allocations: 0 / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001022/0.4099, allocations: 0.694 MB / 0.5792 GB, free: 39.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.41, allocations: 57.38 kB / 0.5792 GB, free: 39.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.41, allocations: 150.4 kB / 0.5794 GB, free: 39.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4101, allocations: 35.55 kB / 0.5794 GB, free: 39.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.4101, allocations: 92.83 kB / 0.5795 GB, free: 39.02 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4102, allocations: 210.8 kB / 0.5797 GB, free: 38.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4104, allocations: 109.4 kB / 0.5798 GB, free: 38.77 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.4104, allocations: 340 kB / 0.5801 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.4107, allocations: 241.8 kB / 0.5803 GB, free: 38.33 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.411, allocations: 245.8 kB / 0.5806 GB, free: 38.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.4117, allocations: 0.5278 MB / 0.5811 GB, free: 37.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4117, allocations: 0 / 0.5811 GB, free: 37.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007882/0.4125, allocations: 0.6483 MB / 0.5817 GB, free: 37.67 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4125, allocations: 5.062 kB / 0.5817 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4125, allocations: 0 / 0.5817 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4125, allocations: 10.52 kB / 0.5817 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.4131, allocations: 139.3 kB / 0.5819 GB, free: 37.63 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.4131, allocations: 6.469 kB / 0.5819 GB, free: 37.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.4132, allocations: 39.09 kB / 0.5819 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.4133, allocations: 17.91 kB / 0.5819 GB, free: 37.59 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.000109/0.4134, allocations: 169.8 kB / 0.5821 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.4135, allocations: 25.59 kB / 0.5821 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.4145, allocations: 0.7233 MB / 0.5828 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4145, allocations: 10.97 kB / 0.5828 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4145, allocations: 7.938 kB / 0.5828 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4145, allocations: 5.109 kB / 0.5828 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.4149, allocations: 458.8 kB / 0.5833 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4149, allocations: 0 / 0.5833 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/0.4156, allocations: 154.6 kB / 0.5834 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4156, allocations: 3.312 kB / 0.5834 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.4157, allocations: 21.86 kB / 0.5834 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4157, allocations: 7.344 kB / 0.5835 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4157, allocations: 3.938 kB / 0.5835 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.4169, allocations: 0.9627 MB / 0.5844 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.4171, allocations: 174.6 kB / 0.5846 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.4171, allocations: 19.86 kB / 0.5846 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.4173, allocations: 18.03 kB / 0.5846 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.4174, allocations: 46.81 kB / 0.5846 GB, free: 35.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.4174, allocations: 21.89 kB / 0.5847 GB, free: 35.94 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.4175, allocations: 113.8 kB / 0.5848 GB, free: 35.85 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4175, allocations: 0 / 0.5848 GB, free: 35.85 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003215/0.4178, allocations: 121.9 kB / 0.5849 GB, free: 35.83 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.000137/0.418, allocations: 140.6 kB / 0.585 GB, free: 35.71 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.4187, allocations: 0.5835 MB / 0.5856 GB, free: 35.48 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4187, allocations: 1.25 kB / 0.5856 GB, free: 35.48 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.4191, allocations: 334.4 kB / 0.5859 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4193, allocations: 59.86 kB / 0.586 GB, free: 35.18 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.4209, allocations: 1.503 MB / 0.5874 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.421, allocations: 0.8051 MB / 0.5882 GB, free: 32.81 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.4213, allocations: 179.1 kB / 0.5884 GB, free: 32.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4214, allocations: 51.42 kB / 0.5884 GB, free: 32.59 MB / 462.3 MB Notification: Performance of SimCode: time 7.12e-07/0.4214, allocations: 0 / 0.5884 GB, free: 32.59 MB / 462.3 MB Notification: Performance of Templates: time 0.006947/0.4284, allocations: 5.223 MB / 0.5935 GB, free: 27.41 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches