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.001026/0.001026, allocations: 105.8 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.001132/0.001132, 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.206/1.206, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8391/0.8391, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 0.4923 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.407, allocations: 80.68 MB / 0.5711 GB, free: 43.75 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00188/0.4089, allocations: 1.382 MB / 0.5725 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006058/0.4095, allocations: 0.513 MB / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.4096, allocations: 1.312 kB / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.604e-05/0.4096, allocations: 7.922 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.4099, allocations: 46.69 kB / 0.573 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.835e-05/0.41, allocations: 50.5 kB / 0.5731 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.4102, allocations: 316.2 kB / 0.5734 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.4103, allocations: 5.062 kB / 0.5734 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.4104, allocations: 120.8 kB / 0.5735 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.4106, allocations: 160.1 kB / 0.5736 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.4106, allocations: 15.12 kB / 0.5736 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.42e-05/0.4107, allocations: 34.86 kB / 0.5737 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4108, allocations: 127.8 kB / 0.5738 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.411, allocations: 123.2 kB / 0.5739 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.4112, allocations: 244.1 kB / 0.5741 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.4112, allocations: 0 / 0.5741 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4112, allocations: 3.938 kB / 0.5742 GB, free: 41.56 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.4112, allocations: 1.656 kB / 0.5742 GB, free: 41.56 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.0008642/0.4121, allocations: 0.5862 MB / 0.5747 GB, free: 41.06 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.4121, allocations: 13.27 kB / 0.5747 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.4122, allocations: 26.53 kB / 0.5748 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.4124, allocations: 251.9 kB / 0.575 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4124, allocations: 12.91 kB / 0.575 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.4125, allocations: 33.27 kB / 0.575 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.4129, allocations: 312.5 kB / 0.5753 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4129, allocations: 4 kB / 0.5753 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.4129, allocations: 9.312 kB / 0.5754 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4129, allocations: 5.875 kB / 0.5754 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.4133, allocations: 294.7 kB / 0.5756 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.4137, allocations: 393.5 kB / 0.576 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.4151, allocations: 0.6855 MB / 0.5767 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.4154, allocations: 234.2 kB / 0.5769 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.4156, allocations: 99.14 kB / 0.577 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.4156, allocations: 36.38 kB / 0.577 GB, free: 39.56 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.413e-06/0.4156, allocations: 1.375 kB / 0.577 GB, free: 39.56 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0009736/0.4166, allocations: 0.6907 MB / 0.5777 GB, free: 39.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.4166, allocations: 65.31 kB / 0.5778 GB, free: 39.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.4167, allocations: 149.2 kB / 0.5779 GB, free: 39.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.4167, allocations: 31.55 kB / 0.578 GB, free: 39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.4168, allocations: 100.8 kB / 0.578 GB, free: 38.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.4169, allocations: 206.8 kB / 0.5782 GB, free: 38.72 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.417, allocations: 106.2 kB / 0.5783 GB, free: 38.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.4171, allocations: 344 kB / 0.5787 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.4174, allocations: 237.1 kB / 0.5789 GB, free: 38.21 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.4178, allocations: 249.9 kB / 0.5791 GB, free: 38.1 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.4184, allocations: 0.5275 MB / 0.5797 GB, free: 37.86 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4184, allocations: 1.281 kB / 0.5797 GB, free: 37.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008115/0.4192, allocations: 0.6464 MB / 0.5803 GB, free: 37.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4193, allocations: 6.312 kB / 0.5803 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4193, allocations: 0 / 0.5803 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4193, allocations: 2.531 kB / 0.5803 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.4198, allocations: 134.5 kB / 0.5804 GB, free: 37.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4198, allocations: 11.72 kB / 0.5804 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.42, allocations: 41.84 kB / 0.5805 GB, free: 37.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.42, allocations: 21.89 kB / 0.5805 GB, free: 37.48 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.000114/0.4202, allocations: 163.1 kB / 0.5807 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.4202, allocations: 32.27 kB / 0.5807 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.4212, allocations: 0.7275 MB / 0.5814 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4212, allocations: 11.56 kB / 0.5814 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4213, allocations: 3.938 kB / 0.5814 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4213, allocations: 3.984 kB / 0.5814 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.4217, allocations: 463.1 kB / 0.5819 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4217, allocations: 0.9062 kB / 0.5819 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/0.4223, allocations: 158.4 kB / 0.582 GB, free: 36.51 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4224, allocations: 2.125 kB / 0.582 GB, free: 36.51 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.4224, allocations: 27 kB / 0.582 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4224, allocations: 6.156 kB / 0.582 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4224, allocations: 4.969 kB / 0.582 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4236, allocations: 0.9583 MB / 0.583 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4237, allocations: 174.2 kB / 0.5831 GB, free: 35.87 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.4238, allocations: 23.7 kB / 0.5832 GB, free: 35.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.424, allocations: 15.31 kB / 0.5832 GB, free: 35.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.4241, allocations: 41.84 kB / 0.5832 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4241, allocations: 22.89 kB / 0.5832 GB, free: 35.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.4242, allocations: 112.8 kB / 0.5834 GB, free: 35.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4242, allocations: 0 / 0.5834 GB, free: 35.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003151/0.4245, allocations: 135.1 kB / 0.5835 GB, free: 35.7 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.0001435/0.4246, allocations: 127.4 kB / 0.5836 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.4258, allocations: 0.8353 MB / 0.5844 GB, free: 35.33 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4258, allocations: 0 / 0.5844 GB, free: 35.33 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.4261, allocations: 333.9 kB / 0.5847 GB, free: 35.17 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4264, allocations: 62.72 kB / 0.5848 GB, free: 35.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.428, allocations: 1.503 MB / 0.5863 GB, free: 33.57 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.4282, allocations: 0.8129 MB / 0.5871 GB, free: 32.73 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.4285, allocations: 171.1 kB / 0.5872 GB, free: 32.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.4286, allocations: 55.41 kB / 0.5873 GB, free: 32.52 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4286, allocations: 0 / 0.5873 GB, free: 32.52 MB / 462.3 MB Notification: Performance of Templates: time 0.006715/0.4353, allocations: 5.217 MB / 0.5924 GB, free: 27.34 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 -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