Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001264/0.001264, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001346/0.001346, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.311/1.311, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8472/0.8472, allocations: 119.3 MB / 411.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 0.493 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4467, allocations: 80.7 MB / 0.5718 GB, free: 43.72 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002238/0.449, allocations: 1.376 MB / 0.5731 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.4498, allocations: 0.5092 MB / 0.5736 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.4498, allocations: 0 / 0.5736 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.772e-05/0.4499, allocations: 13.27 kB / 0.5736 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.4503, allocations: 46.16 kB / 0.5737 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.4504, allocations: 50.66 kB / 0.5737 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.4508, allocations: 0.5484 MB / 0.5742 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.4508, allocations: 6.844 kB / 0.5743 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.451, allocations: 201.8 kB / 0.5744 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.4514, allocations: 284.3 kB / 0.5747 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/0.4515, allocations: 30.81 kB / 0.5747 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.4517, allocations: 52.09 kB / 0.5748 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.4519, allocations: 238.2 kB / 0.575 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.4521, allocations: 230.9 kB / 0.5752 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.4525, allocations: 441 kB / 0.5757 GB, free: 41.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4525, allocations: 0 / 0.5757 GB, free: 41.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4525, allocations: 4 kB / 0.5757 GB, free: 41.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4526, allocations: 1.062 kB / 0.5757 GB, free: 41.04 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.001694/0.4543, allocations: 0.8119 MB / 0.5765 GB, free: 40.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4543, allocations: 13.58 kB / 0.5765 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.4544, allocations: 51.75 kB / 0.5765 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.4548, allocations: 336.4 kB / 0.5768 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.4548, allocations: 33.5 kB / 0.5769 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.4549, allocations: 56.38 kB / 0.5769 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.4557, allocations: 0.5895 MB / 0.5775 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4558, allocations: 0 / 0.5775 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.4558, allocations: 16.44 kB / 0.5775 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4558, allocations: 10.06 kB / 0.5775 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/0.4566, allocations: 0.5822 MB / 0.5781 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.4574, allocations: 0.6179 MB / 0.5787 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.4606, allocations: 1.363 MB / 0.58 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/0.4612, allocations: 460.5 kB / 0.5805 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.4614, allocations: 108 kB / 0.5806 GB, free: 38.08 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4614, allocations: 43.34 kB / 0.5806 GB, free: 38.03 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 3.186e-06/0.4614, allocations: 0 / 0.5806 GB, free: 38.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.00215/0.4636, allocations: 1.34 MB / 0.5819 GB, free: 37.44 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4636, allocations: 62.22 kB / 0.582 GB, free: 37.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4638, allocations: 179.9 kB / 0.5822 GB, free: 37.24 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.4638, allocations: 41.64 kB / 0.5822 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.4639, allocations: 111.3 kB / 0.5823 GB, free: 37.09 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.4641, allocations: 403.3 kB / 0.5827 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.4643, allocations: 200 kB / 0.5829 GB, free: 36.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.4644, allocations: 370.2 kB / 0.5832 GB, free: 36.27 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.465, allocations: 471.1 kB / 0.5837 GB, free: 36.07 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.4657, allocations: 486 kB / 0.5841 GB, free: 35.86 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.4671, allocations: 1.043 MB / 0.5852 GB, free: 35.37 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4671, allocations: 0 / 0.5852 GB, free: 35.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001503/0.4686, allocations: 1.251 MB / 0.5864 GB, free: 34.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4686, allocations: 7.938 kB / 0.5864 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4686, allocations: 0 / 0.5864 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4687, allocations: 7.938 kB / 0.5864 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/0.4696, allocations: 267.7 kB / 0.5867 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4696, allocations: 4 kB / 0.5867 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.47, allocations: 79.06 kB / 0.5867 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.4701, allocations: 47.92 kB / 0.5868 GB, free: 33.84 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.00023/0.4703, allocations: 213.5 kB / 0.587 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.4704, allocations: 47.53 kB / 0.587 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.4722, allocations: 1.388 MB / 0.5884 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.4723, allocations: 12 kB / 0.5884 GB, free: 32.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4723, allocations: 4 kB / 0.5884 GB, free: 32.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4723, allocations: 11.97 kB / 0.5884 GB, free: 32.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007141/0.473, allocations: 0.7438 MB / 0.5891 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.473, allocations: 0 / 0.5891 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.4743, allocations: 311.6 kB / 0.5894 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.4743, allocations: 4 kB / 0.5894 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/0.4744, allocations: 43.97 kB / 0.5895 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.4744, allocations: 4 kB / 0.5895 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4745, allocations: 3.984 kB / 0.5895 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.4766, allocations: 1.854 MB / 0.5913 GB, free: 29.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.4769, allocations: 256 kB / 0.5915 GB, free: 28.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.477, allocations: 35.98 kB / 0.5916 GB, free: 28.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.4774, allocations: 24 kB / 0.5916 GB, free: 28.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4776, allocations: 81.19 kB / 0.5917 GB, free: 28.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.4776, allocations: 39.98 kB / 0.5917 GB, free: 28.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.536e-05/0.4777, allocations: 136.3 kB / 0.5918 GB, free: 28.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4777, allocations: 0 / 0.5918 GB, free: 28.54 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005471/0.4783, allocations: 231.9 kB / 0.5921 GB, free: 28.32 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.00022/0.4785, allocations: 163 kB / 0.5922 GB, free: 28.15 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.4812, allocations: 2.088 MB / 0.5943 GB, free: 26.06 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4813, allocations: 0 / 0.5943 GB, free: 26.06 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.4819, allocations: 0.6397 MB / 0.5949 GB, free: 25.42 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.4825, allocations: 103.9 kB / 0.595 GB, free: 25.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.4857, allocations: 2.877 MB / 0.5978 GB, free: 22.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.486, allocations: 0.927 MB / 0.5987 GB, free: 21.45 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.4863, allocations: 95.41 kB / 0.5988 GB, free: 21.36 MB / 462.3 MB Notification: Performance of SimCode: time 7.01e-07/0.4863, allocations: 0 / 0.5988 GB, free: 21.36 MB / 462.3 MB Notification: Performance of Templates: time 0.01107/0.4974, allocations: 9.487 MB / 0.6081 GB, free: 11.89 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches