Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 87.38 kB / 16.31 MB, free: 5.676 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.001294/0.001294, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.264/1.264, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8433/0.8433, allocations: 120.5 MB / 412.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002943, allocations: 11.98 kB / 0.4956 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4745, allocations: 82.83 MB / 0.5765 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001194/0.4757, allocations: 1.084 MB / 0.5775 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.4765, allocations: 495.5 kB / 0.578 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.4765, allocations: 0 / 0.578 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.395e-05/0.4766, allocations: 7.922 kB / 0.578 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.4769, allocations: 54.95 kB / 0.5781 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.691e-05/0.477, allocations: 33.47 kB / 0.5781 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.4772, allocations: 199.5 kB / 0.5783 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.4773, allocations: 7.516 kB / 0.5783 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4774, allocations: 69.05 kB / 0.5783 GB, free: 40.35 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.4776, allocations: 106.8 kB / 0.5785 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.4776, allocations: 9.812 kB / 0.5785 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.84e-05/0.4777, allocations: 24.83 kB / 0.5785 GB, free: 40.28 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.4778, allocations: 75.55 kB / 0.5786 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.4778, allocations: 47.39 kB / 0.5786 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.478, allocations: 91.58 kB / 0.5787 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.478, allocations: 0 / 0.5787 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.523e-06/0.478, allocations: 1.375 kB / 0.5787 GB, free: 40.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.478, allocations: 4 kB / 0.5787 GB, free: 40.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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006935/0.4787, allocations: 455.9 kB / 0.5791 GB, free: 39.71 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4787, allocations: 8.25 kB / 0.5791 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.4788, allocations: 20.02 kB / 0.5792 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.479, allocations: 213.9 kB / 0.5794 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.479, allocations: 8.359 kB / 0.5794 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.479, allocations: 13.62 kB / 0.5794 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.4793, allocations: 179.1 kB / 0.5796 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4793, allocations: 0 / 0.5796 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.4793, allocations: 5.219 kB / 0.5796 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4794, allocations: 11.36 kB / 0.5796 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.4796, allocations: 143.8 kB / 0.5797 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.4799, allocations: 281.1 kB / 0.58 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/0.4807, allocations: 348 kB / 0.5803 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4809, allocations: 124 kB / 0.5804 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.481, allocations: 87.97 kB / 0.5805 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.4811, allocations: 35.94 kB / 0.5805 GB, free: 38.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.4811, allocations: 3.938 kB / 0.5805 GB, free: 38.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006271/0.4817, allocations: 382.3 kB / 0.5809 GB, free: 38.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4818, allocations: 62.14 kB / 0.581 GB, free: 38.41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.4818, allocations: 132 kB / 0.5811 GB, free: 38.29 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4819, allocations: 34.64 kB / 0.5811 GB, free: 38.25 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.4819, allocations: 95.39 kB / 0.5812 GB, free: 38.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.482, allocations: 116.2 kB / 0.5813 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.482, allocations: 4.906 kB / 0.5813 GB, free: 38.05 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.4821, allocations: 328.4 kB / 0.5816 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.4823, allocations: 118.9 kB / 0.5818 GB, free: 37.67 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4825, allocations: 126.3 kB / 0.5819 GB, free: 37.62 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.4827, allocations: 144 kB / 0.582 GB, free: 37.55 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4827, allocations: 0 / 0.582 GB, free: 37.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005185/0.4833, allocations: 362.6 kB / 0.5824 GB, free: 37.38 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4833, allocations: 6.969 kB / 0.5824 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4833, allocations: 0.9375 kB / 0.5824 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4833, allocations: 1.812 kB / 0.5824 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.4836, allocations: 76.19 kB / 0.5824 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4836, allocations: 0 / 0.5824 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/0.4837, allocations: 23.3 kB / 0.5825 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.4838, allocations: 14.97 kB / 0.5825 GB, free: 37.34 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/0.4839, allocations: 134 kB / 0.5826 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4839, allocations: 23.36 kB / 0.5826 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.4845, allocations: 393.4 kB / 0.583 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4845, allocations: 9.016 kB / 0.583 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4845, allocations: 4 kB / 0.583 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4845, allocations: 0 / 0.583 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.4848, allocations: 322.3 kB / 0.5833 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4848, allocations: 0 / 0.5833 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.4852, allocations: 79.59 kB / 0.5834 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4852, allocations: 1.281 kB / 0.5834 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.4852, allocations: 18.3 kB / 0.5834 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4852, allocations: 1.25 kB / 0.5834 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4853, allocations: 0 / 0.5834 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.4859, allocations: 0.5295 MB / 0.5839 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4861, allocations: 124.2 kB / 0.5841 GB, free: 36.24 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.4861, allocations: 11.8 kB / 0.5841 GB, free: 36.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.4862, allocations: 6.5 kB / 0.5841 GB, free: 36.23 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.4863, allocations: 27.25 kB / 0.5841 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4863, allocations: 8.156 kB / 0.5841 GB, free: 36.21 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.15e-05/0.4863, allocations: 105.1 kB / 0.5842 GB, free: 36.12 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4863, allocations: 0 / 0.5842 GB, free: 36.12 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002839/0.4866, allocations: 64.78 kB / 0.5843 GB, free: 36.11 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.4868, allocations: 115.2 kB / 0.5844 GB, free: 36.01 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.4873, allocations: 301.4 kB / 0.5847 GB, free: 35.89 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4873, allocations: 0 / 0.5847 GB, free: 35.89 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.4876, allocations: 168.2 kB / 0.5848 GB, free: 35.83 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4879, allocations: 36.62 kB / 0.5849 GB, free: 35.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.4892, allocations: 1.01 MB / 0.5859 GB, free: 35.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4894, allocations: 0.7438 MB / 0.5866 GB, free: 34.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.4896, allocations: 99.73 kB / 0.5867 GB, free: 34.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.4897, allocations: 30.47 kB / 0.5867 GB, free: 34.27 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4897, allocations: 0 / 0.5867 GB, free: 34.27 MB / 462.3 MB Notification: Performance of Templates: time 0.005444/0.4952, allocations: 2.686 MB / 0.5893 GB, free: 32.68 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches