Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.000885, allocations: 86.3 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.03/1.03, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.46e-05, allocations: 7.984 kB / 0.5367 GB, free: 11.22 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5808, allocations: 82.84 MB / 0.6176 GB, free: 9.281 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.7468, allocations: 125.8 MB / 0.7405 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.7473, allocations: 63.97 kB / 0.7405 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6557/1.403, allocations: 12.46 MB / 0.7527 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.473e-06/1.403, allocations: 0 / 0.7527 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 2.813e-05/1.403, allocations: 15.41 kB / 0.7527 GB, free: 128.8 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003546/1.407, allocations: 1.529 MB / 0.7542 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.407, allocations: 12.62 kB / 0.7542 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/1.407, allocations: 86.86 kB / 0.7543 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/1.409, allocations: 0.9066 MB / 0.7552 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/1.409, allocations: 58.5 kB / 0.7552 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/1.409, allocations: 116 kB / 0.7553 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/1.411, allocations: 1.111 MB / 0.7564 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/1.411, allocations: 1.594 kB / 0.7564 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/1.411, allocations: 32.12 kB / 0.7565 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/1.411, allocations: 18.59 kB / 0.7565 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/1.413, allocations: 1.243 MB / 0.7577 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/1.414, allocations: 1.084 MB / 0.7588 GB, free: 127 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006524/1.421, allocations: 2.738 MB / 0.7614 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/1.422, allocations: 0.861 MB / 0.7623 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/1.422, allocations: 128.2 kB / 0.7624 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/1.422, allocations: 55.78 kB / 0.7624 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=203): time 3.587e-06/1.422, allocations: 0 / 0.7624 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=203): time 0.002465/1.425, allocations: 1.866 MB / 0.7643 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/1.425, allocations: 72.91 kB / 0.7643 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/1.425, allocations: 202.2 kB / 0.7645 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.593e-05/1.425, allocations: 60.92 kB / 0.7646 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/1.425, allocations: 133.9 kB / 0.7647 GB, free: 125 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/1.426, allocations: 0.7791 MB / 0.7655 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/1.426, allocations: 43.19 kB / 0.7655 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.426, allocations: 416.8 kB / 0.7659 GB, free: 124 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.427, allocations: 0.9336 MB / 0.7668 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.428, allocations: 0.9555 MB / 0.7678 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.429, allocations: 1.107 MB / 0.7688 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.429, allocations: 0 / 0.7688 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002976/1.432, allocations: 2.456 MB / 0.7712 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.432, allocations: 8 kB / 0.7712 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.432, allocations: 4 kB / 0.7712 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.432, allocations: 8 kB / 0.7713 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/1.436, allocations: 0.5449 MB / 0.7718 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.623e-05/1.436, allocations: 15.94 kB / 0.7718 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/1.437, allocations: 146.2 kB / 0.7719 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.437, allocations: 84.56 kB / 0.772 GB, free: 119.9 MB / 0.5421 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 284 * 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.0002727/1.437, allocations: 208.5 kB / 0.7722 GB, free: 119.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/1.438, allocations: 83.06 kB / 0.7723 GB, free: 119.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/1.442, allocations: 2.691 MB / 0.7749 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/1.442, allocations: 28 kB / 0.775 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.442, allocations: 0 / 0.775 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.442, allocations: 14.16 kB / 0.775 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/1.443, allocations: 1.341 MB / 0.7763 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.443, allocations: 2.438 kB / 0.7763 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004343/1.447, allocations: 0.6133 MB / 0.7769 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.653e-05/1.448, allocations: 8 kB / 0.7769 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.448, allocations: 95.27 kB / 0.777 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/1.448, allocations: 8 kB / 0.777 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.448, allocations: 0 / 0.777 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/1.452, allocations: 3.545 MB / 0.7804 GB, free: 112 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/1.453, allocations: 426.8 kB / 0.7809 GB, free: 111.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/1.453, allocations: 75.95 kB / 0.7809 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/1.454, allocations: 44 kB / 0.781 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/1.454, allocations: 170 kB / 0.7811 GB, free: 111.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.454, allocations: 75.97 kB / 0.7812 GB, free: 111.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001652/1.454, allocations: 169.4 kB / 0.7814 GB, free: 111.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.9e-07/1.454, allocations: 0 / 0.7814 GB, free: 111.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008235/1.455, allocations: 455.9 kB / 0.7818 GB, free: 110.6 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 284 * 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.0002893/1.455, allocations: 225.6 kB / 0.782 GB, free: 110.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002786/1.458, allocations: 2.259 MB / 0.7842 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.458, allocations: 0 / 0.7842 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/1.46, allocations: 1.234 MB / 0.7854 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/1.46, allocations: 160.3 kB / 0.7856 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005776/1.466, allocations: 5.539 MB / 0.791 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/1.466, allocations: 1.179 MB / 0.7921 GB, free: 99.93 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001715/1.468, allocations: 0.7475 MB / 0.7929 GB, free: 99.18 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/1.469, allocations: 167.4 kB / 0.793 GB, free: 99.01 MB / 0.5421 GB Notification: Performance of SimCode: time 9.12e-07/1.469, allocations: 0 / 0.793 GB, free: 99.01 MB / 0.5421 GB Notification: Performance of Templates: time 0.0226/1.491, allocations: 17.08 MB / 0.8097 GB, free: 82 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches