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.0009278/0.0009278, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.0009498/0.0009498, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.293/1.293, allocations: 223.3 MB / 242.3 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9338/0.9338, allocations: 120.5 MB / 413.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8 kB / 0.4969 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4728, allocations: 82.83 MB / 0.5778 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001183/0.474, allocations: 1.118 MB / 0.5789 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007368/0.4748, allocations: 0.5016 MB / 0.5793 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.4748, allocations: 0 / 0.5793 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.997e-05/0.4749, allocations: 5.312 kB / 0.5794 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.4752, allocations: 54.92 kB / 0.5794 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.974e-05/0.4753, allocations: 36.14 kB / 0.5794 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.4756, allocations: 352.5 kB / 0.5798 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.4756, allocations: 9.625 kB / 0.5798 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.4758, allocations: 115 kB / 0.5799 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.476, allocations: 168.2 kB / 0.5801 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.4761, allocations: 15.69 kB / 0.5801 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.4762, allocations: 37.8 kB / 0.5801 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.4763, allocations: 129.8 kB / 0.5802 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.4765, allocations: 147.8 kB / 0.5804 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.4767, allocations: 155 kB / 0.5805 GB, free: 40.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4767, allocations: 3.938 kB / 0.5805 GB, free: 40.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4767, allocations: 0 / 0.5805 GB, free: 40.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4767, allocations: 4.844 kB / 0.5805 GB, free: 40.41 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.0009348/0.4776, allocations: 0.5684 MB / 0.5811 GB, free: 39.93 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4777, allocations: 13.44 kB / 0.5811 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.4777, allocations: 25.53 kB / 0.5811 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.478, allocations: 254.2 kB / 0.5814 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.478, allocations: 16.75 kB / 0.5814 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.4781, allocations: 24.59 kB / 0.5814 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.4785, allocations: 319.2 kB / 0.5817 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4786, allocations: 0 / 0.5817 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.4786, allocations: 11.98 kB / 0.5817 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4786, allocations: 7.094 kB / 0.5817 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.479, allocations: 289.2 kB / 0.582 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.4794, allocations: 401 kB / 0.5824 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.481, allocations: 0.6793 MB / 0.583 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.4814, allocations: 229.6 kB / 0.5833 GB, free: 38.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.4815, allocations: 94.73 kB / 0.5834 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.4815, allocations: 37.75 kB / 0.5834 GB, free: 38.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.573e-06/0.4815, allocations: 0 / 0.5834 GB, free: 38.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001157/0.4827, allocations: 0.6989 MB / 0.5841 GB, free: 38.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.4827, allocations: 62.16 kB / 0.5841 GB, free: 38.04 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.4829, allocations: 149.3 kB / 0.5843 GB, free: 37.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.4829, allocations: 36.39 kB / 0.5843 GB, free: 37.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.4829, allocations: 96.52 kB / 0.5844 GB, free: 37.78 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4831, allocations: 202.3 kB / 0.5846 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.4831, allocations: 56.25 kB / 0.5846 GB, free: 37.56 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.4832, allocations: 339.6 kB / 0.585 GB, free: 37.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.4836, allocations: 245.6 kB / 0.5852 GB, free: 37.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.4839, allocations: 246.3 kB / 0.5854 GB, free: 37.01 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007572/0.4847, allocations: 0.5273 MB / 0.586 GB, free: 36.77 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4847, allocations: 0 / 0.586 GB, free: 36.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008865/0.4856, allocations: 0.6517 MB / 0.5866 GB, free: 36.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4856, allocations: 5.031 kB / 0.5866 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4856, allocations: 0 / 0.5866 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4856, allocations: 3.781 kB / 0.5866 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.4862, allocations: 142.9 kB / 0.5867 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4862, allocations: 10.44 kB / 0.5867 GB, free: 36.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.4864, allocations: 43.12 kB / 0.5868 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.4865, allocations: 21.88 kB / 0.5868 GB, free: 36.38 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.0001376/0.4866, allocations: 161.9 kB / 0.587 GB, free: 36.23 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.4867, allocations: 24.34 kB / 0.587 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.4877, allocations: 0.7256 MB / 0.5877 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4878, allocations: 8 kB / 0.5877 GB, free: 35.64 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4878, allocations: 3.938 kB / 0.5877 GB, free: 35.64 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4878, allocations: 7.984 kB / 0.5877 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.4882, allocations: 457.6 kB / 0.5882 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4882, allocations: 0 / 0.5882 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.4889, allocations: 163.8 kB / 0.5883 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4889, allocations: 4 kB / 0.5883 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.489, allocations: 19.98 kB / 0.5883 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.489, allocations: 4 kB / 0.5883 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.489, allocations: 3.938 kB / 0.5883 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.49, allocations: 0.969 MB / 0.5893 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4902, allocations: 172.6 kB / 0.5894 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.4903, allocations: 19.98 kB / 0.5895 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.4905, allocations: 12 kB / 0.5895 GB, free: 33.74 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.4905, allocations: 40.59 kB / 0.5895 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.4906, allocations: 27.98 kB / 0.5895 GB, free: 33.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.4906, allocations: 107.2 kB / 0.5896 GB, free: 33.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4906, allocations: 0 / 0.5896 GB, free: 33.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003292/0.491, allocations: 124 kB / 0.5898 GB, free: 33.45 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.0001713/0.4911, allocations: 147 kB / 0.5899 GB, free: 33.3 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000701/0.4918, allocations: 0.5755 MB / 0.5905 GB, free: 32.72 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4919, allocations: 0 / 0.5905 GB, free: 32.72 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.4922, allocations: 327.6 kB / 0.5908 GB, free: 32.4 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.4926, allocations: 67.53 kB / 0.5908 GB, free: 32.34 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.4945, allocations: 1.833 MB / 0.5926 GB, free: 30.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.4947, allocations: 0.8131 MB / 0.5934 GB, free: 29.63 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.4949, allocations: 55.42 kB / 0.5935 GB, free: 29.58 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.4949, allocations: 0 / 0.5935 GB, free: 29.58 MB / 462.3 MB Notification: Performance of Templates: time 0.005772/0.5007, allocations: 5.067 MB / 0.5984 GB, free: 24.52 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/jenkins1/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