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.0007738/0.000774, allocations: 88.16 kB / 16.31 MB, free: 5.645 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.0008909/0.000891, allocations: 176.1 kB / 17.2 MB, free: 5.562 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.283/1.283, allocations: 223.2 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7094/0.7094, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 8 kB / 0.4956 GB, free: 9.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 82.85 MB / 0.5765 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001283/0.1531, allocations: 1.081 MB / 0.5775 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000798/0.1539, allocations: 491.6 kB / 0.578 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.154, allocations: 7.938 kB / 0.578 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.212e-05/0.154, allocations: 3.984 kB / 0.578 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.1543, allocations: 51.73 kB / 0.5781 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.705e-05/0.1544, allocations: 31.97 kB / 0.5781 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.1548, allocations: 0.499 MB / 0.5786 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.1549, allocations: 8.188 kB / 0.5786 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.1551, allocations: 203.7 kB / 0.5788 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.1555, allocations: 319.5 kB / 0.5791 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.1556, allocations: 28 kB / 0.5791 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1557, allocations: 47.98 kB / 0.5792 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.1559, allocations: 243.4 kB / 0.5794 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.156, allocations: 89.52 kB / 0.5795 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1563, allocations: 283.6 kB / 0.5797 GB, free: 3.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1563, allocations: 0 / 0.5797 GB, free: 3.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1563, allocations: 0 / 0.5797 GB, free: 3.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1563, allocations: 0 / 0.5797 GB, free: 3.426 MB / 446.1 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.001534/0.1578, allocations: 0.8541 MB / 0.5806 GB, free: 2.523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1579, allocations: 8.031 kB / 0.5806 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.158, allocations: 51.39 kB / 0.5806 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.1584, allocations: 322.3 kB / 0.5809 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.1584, allocations: 32.94 kB / 0.581 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.1585, allocations: 59.91 kB / 0.581 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.1593, allocations: 0.5801 MB / 0.5816 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1594, allocations: 0 / 0.5816 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.1594, allocations: 16 kB / 0.5816 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1594, allocations: 11.98 kB / 0.5816 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.1602, allocations: 0.5933 MB / 0.5822 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.161, allocations: 0.6137 MB / 0.5828 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4818/0.6428, allocations: 1.354 MB / 0.5841 GB, free: 16.53 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/0.6436, allocations: 457 kB / 0.5846 GB, free: 16.52 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.6438, allocations: 102.9 kB / 0.5847 GB, free: 16.43 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6438, allocations: 45.92 kB / 0.5847 GB, free: 16.39 MB / 446.3 MB Notification: Performance of pre-optimization done (n=103): time 2.896e-06/0.6438, allocations: 0 / 0.5847 GB, free: 16.39 MB / 446.3 MB Notification: Performance of matching and sorting (n=103): time 0.002373/0.6462, allocations: 1.35 MB / 0.586 GB, free: 16.31 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.6463, allocations: 63.16 kB / 0.5861 GB, free: 16.25 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.6464, allocations: 176.2 kB / 0.5862 GB, free: 16.14 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.6465, allocations: 42.39 kB / 0.5863 GB, free: 16.11 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.6466, allocations: 108.9 kB / 0.5864 GB, free: 16.02 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.6468, allocations: 408.8 kB / 0.5868 GB, free: 15.72 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.6469, allocations: 20.75 kB / 0.5868 GB, free: 15.7 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.647, allocations: 371.6 kB / 0.5872 GB, free: 15.37 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/0.6478, allocations: 465.5 kB / 0.5876 GB, free: 15.25 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008308/0.6486, allocations: 483.7 kB / 0.5881 GB, free: 15.12 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.6495, allocations: 0.5482 MB / 0.5886 GB, free: 14.95 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.6496, allocations: 0 / 0.5886 GB, free: 14.95 MB / 446.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002135/0.6517, allocations: 1.24 MB / 0.5898 GB, free: 14.54 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.6517, allocations: 6.828 kB / 0.5898 GB, free: 14.54 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6518, allocations: 0.5938 kB / 0.5898 GB, free: 14.54 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.6518, allocations: 6.969 kB / 0.5898 GB, free: 14.54 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.6529, allocations: 267.5 kB / 0.5901 GB, free: 14.52 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6529, allocations: 4.625 kB / 0.5901 GB, free: 14.52 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.6532, allocations: 73.72 kB / 0.5901 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.6533, allocations: 38.39 kB / 0.5902 GB, free: 14.46 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.6536, allocations: 214.5 kB / 0.5904 GB, free: 14.3 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.6536, allocations: 50.7 kB / 0.5904 GB, free: 14.27 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.656, allocations: 1.39 MB / 0.5918 GB, free: 13.77 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.6561, allocations: 14.42 kB / 0.5918 GB, free: 13.77 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6561, allocations: 1.094 kB / 0.5918 GB, free: 13.77 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.6561, allocations: 6.797 kB / 0.5918 GB, free: 13.77 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009269/0.6571, allocations: 0.7537 MB / 0.5926 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6571, allocations: 0 / 0.5926 GB, free: 13.38 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.6584, allocations: 313.3 kB / 0.5928 GB, free: 13.36 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.6584, allocations: 7.797 kB / 0.5929 GB, free: 13.36 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.744e-05/0.6585, allocations: 46.23 kB / 0.5929 GB, free: 13.34 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.6586, allocations: 4.938 kB / 0.5929 GB, free: 13.34 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6586, allocations: 1.094 kB / 0.5929 GB, free: 13.34 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.6612, allocations: 1.848 MB / 0.5947 GB, free: 12.71 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.6615, allocations: 252.8 kB / 0.595 GB, free: 12.55 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.6617, allocations: 40.48 kB / 0.595 GB, free: 12.54 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.662, allocations: 24.09 kB / 0.595 GB, free: 12.52 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.6622, allocations: 86.39 kB / 0.5951 GB, free: 12.51 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.6623, allocations: 43.48 kB / 0.5951 GB, free: 12.5 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001317/0.6624, allocations: 126.4 kB / 0.5953 GB, free: 12.41 MB / 446.3 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6624, allocations: 4 kB / 0.5953 GB, free: 12.41 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0008754/0.6633, allocations: 231.2 kB / 0.5955 GB, free: 12.38 MB / 446.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 (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.000298/0.6636, allocations: 160.5 kB / 0.5956 GB, free: 12.25 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.6658, allocations: 1.14 MB / 0.5967 GB, free: 11.96 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6658, allocations: 0 / 0.5967 GB, free: 11.96 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009281/0.6668, allocations: 0.6324 MB / 0.5974 GB, free: 11.79 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.6673, allocations: 102.7 kB / 0.5975 GB, free: 11.73 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.6715, allocations: 3.35 MB / 0.6007 GB, free: 9.801 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.6719, allocations: 0.9248 MB / 0.6016 GB, free: 9.094 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0009027/0.6728, allocations: 371.7 kB / 0.602 GB, free: 9.027 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.6731, allocations: 89.16 kB / 0.6021 GB, free: 9.012 MB / 446.3 MB Notification: Performance of SimCode: time 5.81e-07/0.6731, allocations: 0 / 0.6021 GB, free: 9.012 MB / 446.3 MB Notification: Performance of Templates: time 0.01506/0.6882, allocations: 8.726 MB / 0.6106 GB, free: 5.004 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches