Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 101.2 kB / 16.5 MB, free: 6.648 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.001667/0.001668, allocations: 198.5 kB / 17.43 MB, free: 6.062 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9306/0.9306, allocations: 119.3 MB / 410.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 55.91 kB / 0.4916 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4735, allocations: 80.69 MB / 0.5704 GB, free: 43.87 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002148/0.4757, allocations: 1.446 MB / 0.5718 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.4767, allocations: 0.5196 MB / 0.5723 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.4767, allocations: 0 / 0.5723 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.869e-05/0.4768, allocations: 8.875 kB / 0.5723 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.4771, allocations: 46.83 kB / 0.5724 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.659e-05/0.4772, allocations: 37.41 kB / 0.5724 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.4777, allocations: 0.5769 MB / 0.573 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.4777, allocations: 9.922 kB / 0.573 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4779, allocations: 194 kB / 0.5732 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.4783, allocations: 305.2 kB / 0.5734 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.031e-05/0.4783, allocations: 29.31 kB / 0.5735 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.4785, allocations: 48.48 kB / 0.5735 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.4787, allocations: 245.7 kB / 0.5738 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.4789, allocations: 239.1 kB / 0.574 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.4793, allocations: 433.3 kB / 0.5744 GB, free: 41.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4793, allocations: 0 / 0.5744 GB, free: 41.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4793, allocations: 0 / 0.5744 GB, free: 41.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4793, allocations: 0 / 0.5744 GB, free: 41.14 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001626/0.481, allocations: 0.814 MB / 0.5752 GB, free: 40.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.481, allocations: 8.938 kB / 0.5752 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4811, allocations: 46.88 kB / 0.5752 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.4815, allocations: 323.2 kB / 0.5756 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.4815, allocations: 33.47 kB / 0.5756 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4816, allocations: 60.67 kB / 0.5756 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.4824, allocations: 0.5898 MB / 0.5762 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4825, allocations: 5.344 kB / 0.5762 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.4825, allocations: 15.53 kB / 0.5762 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4825, allocations: 9.812 kB / 0.5762 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008578/0.4834, allocations: 0.5821 MB / 0.5768 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.4843, allocations: 0.6178 MB / 0.5774 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/0.4876, allocations: 1.364 MB / 0.5787 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.4883, allocations: 452 kB / 0.5792 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.4885, allocations: 108 kB / 0.5793 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4886, allocations: 51.28 kB / 0.5793 GB, free: 38.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.625e-06/0.4886, allocations: 1.281 kB / 0.5793 GB, free: 38.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002199/0.4908, allocations: 1.339 MB / 0.5806 GB, free: 37.55 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4908, allocations: 66.48 kB / 0.5807 GB, free: 37.48 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.491, allocations: 184.7 kB / 0.5809 GB, free: 37.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.4911, allocations: 41.39 kB / 0.5809 GB, free: 37.29 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.4911, allocations: 107.7 kB / 0.581 GB, free: 37.19 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.4914, allocations: 403.3 kB / 0.5814 GB, free: 36.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.4917, allocations: 194.4 kB / 0.5816 GB, free: 36.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.4918, allocations: 375.5 kB / 0.582 GB, free: 36.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006787/0.4925, allocations: 471 kB / 0.5824 GB, free: 36.17 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.4931, allocations: 490.2 kB / 0.5829 GB, free: 35.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.4946, allocations: 1.046 MB / 0.5839 GB, free: 35.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4946, allocations: 0 / 0.5839 GB, free: 35.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001545/0.4961, allocations: 1.243 MB / 0.5851 GB, free: 34.4 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4961, allocations: 7.984 kB / 0.5851 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4962, allocations: 0 / 0.5851 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4962, allocations: 4 kB / 0.5851 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.4972, allocations: 275.6 kB / 0.5854 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4972, allocations: 4 kB / 0.5854 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.4975, allocations: 79.06 kB / 0.5855 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.4976, allocations: 43.98 kB / 0.5855 GB, free: 33.99 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 (144): * Single equations (assignments): 144 * 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.0002121/0.4978, allocations: 201.5 kB / 0.5857 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/0.4979, allocations: 51.47 kB / 0.5857 GB, free: 33.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.4997, allocations: 1.392 MB / 0.5871 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4997, allocations: 16 kB / 0.5871 GB, free: 32.32 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4998, allocations: 0 / 0.5871 GB, free: 32.32 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.4998, allocations: 7.969 kB / 0.5871 GB, free: 32.31 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.5005, allocations: 0.7465 MB / 0.5879 GB, free: 31.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5005, allocations: 0 / 0.5879 GB, free: 31.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.5019, allocations: 307.7 kB / 0.5881 GB, free: 31.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.5019, allocations: 4 kB / 0.5881 GB, free: 31.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.502, allocations: 47.97 kB / 0.5882 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.502, allocations: 4 kB / 0.5882 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.502, allocations: 4 kB / 0.5882 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.5041, allocations: 1.85 MB / 0.59 GB, free: 29.29 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.5044, allocations: 252 kB / 0.5902 GB, free: 29.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/0.5045, allocations: 39.97 kB / 0.5903 GB, free: 28.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.5048, allocations: 24 kB / 0.5903 GB, free: 28.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.505, allocations: 89.19 kB / 0.5904 GB, free: 28.87 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.505, allocations: 39.98 kB / 0.5904 GB, free: 28.83 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.087e-05/0.5051, allocations: 128.3 kB / 0.5906 GB, free: 28.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5051, allocations: 0 / 0.5906 GB, free: 28.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004898/0.5056, allocations: 232 kB / 0.5908 GB, free: 28.48 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002263/0.5058, allocations: 159.8 kB / 0.5909 GB, free: 28.31 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.5072, allocations: 1.151 MB / 0.5921 GB, free: 27.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5072, allocations: 3.938 kB / 0.5921 GB, free: 27.16 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.5079, allocations: 0.6319 MB / 0.5927 GB, free: 26.53 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.5084, allocations: 111.9 kB / 0.5928 GB, free: 26.42 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.5116, allocations: 3.056 MB / 0.5958 GB, free: 23.33 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5118, allocations: 0.9239 MB / 0.5967 GB, free: 22.38 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0007423/0.5126, allocations: 368.8 kB / 0.597 GB, free: 22.02 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.5129, allocations: 87.42 kB / 0.5971 GB, free: 21.94 MB / 462.3 MB Notification: Performance of SimCode: time 5.71e-07/0.5129, allocations: 0 / 0.5971 GB, free: 21.94 MB / 462.3 MB Notification: Performance of Templates: time 0.01195/0.5248, allocations: 9.213 MB / 0.6061 GB, free: 12.77 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches