Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.000995/0.0009952, allocations: 175.7 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.001085/0.001084, allocations: 94.05 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.242/1.242, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.443e-05, allocations: 0 / 0.5295 GB, free: 0.5469 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6892, allocations: 82.84 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.8664, allocations: 125.2 MB / 0.7327 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.8667, allocations: 63.97 kB / 0.7327 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03803/0.9047, allocations: 12.41 MB / 0.7449 GB, free: 3.23 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9047, allocations: 4 kB / 0.7449 GB, free: 3.227 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.9048, allocations: 12 kB / 0.7449 GB, free: 3.215 MB / 0.5419 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.003214/0.908, allocations: 1.525 MB / 0.7464 GB, free: 1.645 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.908, allocations: 12.02 kB / 0.7464 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.9082, allocations: 87.02 kB / 0.7465 GB, free: 1.547 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.9097, allocations: 0.9043 MB / 0.7473 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.9098, allocations: 24 kB / 0.7474 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.91, allocations: 87.7 kB / 0.7474 GB, free: 500 kB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6901/1.6, allocations: 1.19 MB / 0.7486 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/1.602, allocations: 1.014 MB / 0.7496 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1.602, allocations: 1 kB / 0.7496 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/1.603, allocations: 0 / 0.7496 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/1.603, allocations: 23.8 kB / 0.7496 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/1.605, allocations: 0.9453 MB / 0.7505 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/1.612, allocations: 2.638 MB / 0.7531 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/1.614, allocations: 0.8031 MB / 0.7539 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/1.614, allocations: 127.7 kB / 0.754 GB, free: 130 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/1.614, allocations: 56.67 kB / 0.7541 GB, free: 130 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=203): time 5.09e-06/1.614, allocations: 0 / 0.7541 GB, free: 130 MB / 0.5421 GB Notification: Performance of matching and sorting (n=203): time 0.005638/1.62, allocations: 2.155 MB / 0.7562 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.62, allocations: 75.03 kB / 0.7563 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/1.62, allocations: 197 kB / 0.7564 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/1.62, allocations: 25.7 kB / 0.7565 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/1.62, allocations: 130 kB / 0.7566 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/1.621, allocations: 0.7614 MB / 0.7573 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.621, allocations: 0 / 0.7573 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.621, allocations: 414.9 kB / 0.7577 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/1.622, allocations: 0.8895 MB / 0.7586 GB, free: 128 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.624, allocations: 0.8956 MB / 0.7595 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/1.627, allocations: 1.45 MB / 0.7609 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.627, allocations: 0 / 0.7609 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004606/1.632, allocations: 2.688 MB / 0.7635 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.632, allocations: 7.188 kB / 0.7635 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.632, allocations: 2.469 kB / 0.7635 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/1.632, allocations: 11.86 kB / 0.7635 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/1.635, allocations: 0.5538 MB / 0.7641 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/1.636, allocations: 8 kB / 0.7641 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/1.636, allocations: 102.3 kB / 0.7642 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.636, allocations: 79.5 kB / 0.7643 GB, free: 126.3 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.0002861/1.637, allocations: 132.5 kB / 0.7644 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.637, allocations: 86.97 kB / 0.7645 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/1.642, allocations: 2.88 MB / 0.7673 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/1.642, allocations: 31.81 kB / 0.7673 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.642, allocations: 3.953 kB / 0.7673 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/1.642, allocations: 15.28 kB / 0.7673 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/1.644, allocations: 1.166 MB / 0.7685 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/1.644, allocations: 4.625 kB / 0.7685 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004396/1.648, allocations: 0.6128 MB / 0.7691 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.332e-05/1.648, allocations: 8 kB / 0.7691 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/1.648, allocations: 66.05 kB / 0.7691 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/1.648, allocations: 11.81 kB / 0.7691 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.648, allocations: 3.938 kB / 0.7692 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005672/1.654, allocations: 3.747 MB / 0.7728 GB, free: 118.9 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/1.655, allocations: 423.4 kB / 0.7732 GB, free: 118.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/1.655, allocations: 27.97 kB / 0.7732 GB, free: 118.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/1.655, allocations: 3.984 kB / 0.7732 GB, free: 118.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.656, allocations: 158 kB / 0.7734 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.656, allocations: 83.97 kB / 0.7735 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001141/1.656, allocations: 152.5 kB / 0.7736 GB, free: 118.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.81e-07/1.656, allocations: 7.875 kB / 0.7736 GB, free: 118.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008128/1.657, allocations: 367.8 kB / 0.774 GB, free: 117.7 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.0003037/1.657, allocations: 188.1 kB / 0.7742 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002438/1.659, allocations: 2.149 MB / 0.7763 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.659, allocations: 0 / 0.7763 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.661, allocations: 1.168 MB / 0.7774 GB, free: 114.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/1.661, allocations: 117.7 kB / 0.7775 GB, free: 114.1 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/1.667, allocations: 5.419 MB / 0.7828 GB, free: 108.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/1.667, allocations: 1.178 MB / 0.784 GB, free: 107.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001629/1.669, allocations: 0.7513 MB / 0.7847 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/1.67, allocations: 167.4 kB / 0.7848 GB, free: 106.6 MB / 0.5421 GB Notification: Performance of SimCode: time 6.91e-07/1.67, allocations: 4 kB / 0.7848 GB, free: 106.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.02258/1.692, allocations: 16.55 MB / 0.801 GB, free: 90.13 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches