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.00134/0.001339, allocations: 100.3 kB / 17.16 MB, free: 6.094 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.001409/0.001409, allocations: 202.8 kB / 18.08 MB, free: 5.305 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.337/1.337, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9238/0.9238, allocations: 119.3 MB / 411.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.4922 GB, free: 12.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4727, allocations: 80.68 MB / 0.571 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002088/0.4748, allocations: 1.441 MB / 0.5724 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007376/0.4756, allocations: 0.5219 MB / 0.5729 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.4756, allocations: 0 / 0.5729 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.022e-05/0.4757, allocations: 9.078 kB / 0.5729 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.476, allocations: 51.11 kB / 0.573 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.558e-05/0.4761, allocations: 32.27 kB / 0.573 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.4763, allocations: 361.4 kB / 0.5734 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.4764, allocations: 8.297 kB / 0.5734 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.4765, allocations: 119.1 kB / 0.5735 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.4767, allocations: 164.9 kB / 0.5736 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.4768, allocations: 14.94 kB / 0.5737 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.4769, allocations: 42.84 kB / 0.5737 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.477, allocations: 124.6 kB / 0.5738 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.4772, allocations: 131.1 kB / 0.5739 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.4773, allocations: 146.7 kB / 0.5741 GB, free: 41.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4773, allocations: 3.984 kB / 0.5741 GB, free: 41.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.92e-07/0.4773, allocations: 0 / 0.5741 GB, free: 41.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.4773, allocations: 0.9062 kB / 0.5741 GB, free: 41.18 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.0009904/0.4783, allocations: 0.5875 MB / 0.5747 GB, free: 40.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4784, allocations: 10 kB / 0.5747 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.4785, allocations: 24.97 kB / 0.5747 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4787, allocations: 247.5 kB / 0.5749 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4787, allocations: 17.53 kB / 0.575 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.4788, allocations: 28.75 kB / 0.575 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.4792, allocations: 316.5 kB / 0.5753 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4792, allocations: 0 / 0.5753 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.4793, allocations: 9.969 kB / 0.5753 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.4793, allocations: 5.969 kB / 0.5753 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.4797, allocations: 294.9 kB / 0.5756 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.4801, allocations: 392.5 kB / 0.576 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.4817, allocations: 0.6798 MB / 0.5766 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.482, allocations: 235.1 kB / 0.5768 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.4822, allocations: 93.66 kB / 0.5769 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4822, allocations: 45.45 kB / 0.577 GB, free: 39.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.513e-06/0.4823, allocations: 3.969 kB / 0.577 GB, free: 39.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001034/0.4833, allocations: 0.6963 MB / 0.5777 GB, free: 38.87 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.4833, allocations: 57.69 kB / 0.5777 GB, free: 38.8 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.4834, allocations: 152.9 kB / 0.5779 GB, free: 38.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4835, allocations: 31.48 kB / 0.5779 GB, free: 38.63 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.4835, allocations: 102.5 kB / 0.578 GB, free: 38.53 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4836, allocations: 200.8 kB / 0.5782 GB, free: 38.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.4838, allocations: 110.7 kB / 0.5783 GB, free: 38.29 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.4838, allocations: 344.4 kB / 0.5786 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.4841, allocations: 237.1 kB / 0.5788 GB, free: 37.84 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.4845, allocations: 250 kB / 0.5791 GB, free: 37.73 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.4852, allocations: 0.527 MB / 0.5796 GB, free: 37.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4852, allocations: 0.9062 kB / 0.5796 GB, free: 37.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009267/0.4861, allocations: 0.647 MB / 0.5802 GB, free: 37.18 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4862, allocations: 7.219 kB / 0.5802 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4862, allocations: 0 / 0.5802 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4862, allocations: 1.156 kB / 0.5802 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.4867, allocations: 139.4 kB / 0.5804 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4867, allocations: 10.28 kB / 0.5804 GB, free: 37.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.4869, allocations: 42.31 kB / 0.5804 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.487, allocations: 22.42 kB / 0.5804 GB, free: 37.11 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.0001268/0.4871, allocations: 157.9 kB / 0.5806 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.4872, allocations: 25.31 kB / 0.5806 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4883, allocations: 0.7234 MB / 0.5813 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4883, allocations: 11.56 kB / 0.5813 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4883, allocations: 3.938 kB / 0.5813 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4883, allocations: 3.984 kB / 0.5813 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.4887, allocations: 460 kB / 0.5818 GB, free: 36.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4887, allocations: 3.984 kB / 0.5818 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/0.4895, allocations: 162 kB / 0.5819 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4895, allocations: 3.781 kB / 0.5819 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.4895, allocations: 26.08 kB / 0.582 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.4895, allocations: 2.531 kB / 0.582 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4895, allocations: 3.938 kB / 0.582 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.4908, allocations: 0.9705 MB / 0.5829 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.491, allocations: 174.3 kB / 0.5831 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.491, allocations: 23.67 kB / 0.5831 GB, free: 35.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.4912, allocations: 11.59 kB / 0.5831 GB, free: 35.48 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.4913, allocations: 42 kB / 0.5832 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.4913, allocations: 17.84 kB / 0.5832 GB, free: 35.45 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.4914, allocations: 113.5 kB / 0.5833 GB, free: 35.36 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4914, allocations: 0 / 0.5833 GB, free: 35.36 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003881/0.4918, allocations: 126.8 kB / 0.5834 GB, free: 35.34 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.0001589/0.492, allocations: 141 kB / 0.5835 GB, free: 35.22 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.4928, allocations: 0.5808 MB / 0.5841 GB, free: 34.98 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4928, allocations: 0 / 0.5841 GB, free: 34.98 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.4932, allocations: 328 kB / 0.5844 GB, free: 34.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4935, allocations: 61.31 kB / 0.5845 GB, free: 34.82 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.4956, allocations: 1.648 MB / 0.5861 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.4958, allocations: 0.8126 MB / 0.5869 GB, free: 32.89 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.496, allocations: 52.02 kB / 0.5869 GB, free: 32.87 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.496, allocations: 3.938 kB / 0.5869 GB, free: 32.87 MB / 462.3 MB Notification: Performance of Templates: time 0.005581/0.5016, allocations: 5.099 MB / 0.5919 GB, free: 27.96 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches