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.001042/0.001042, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.211/1.211, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 101.7 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7242/0.7242, allocations: 120.5 MB / 463 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 0.5446 GB, free: 41.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 82.85 MB / 0.6255 GB, free: 7.875 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6497/0.7776, allocations: 125.9 MB / 0.7485 GB, free: 8.27 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.7779, allocations: 70.7 kB / 0.7486 GB, free: 8.23 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03722/0.8151, allocations: 12.44 MB / 0.7607 GB, free: 12.91 MB / 0.5263 GB Notification: Performance of FrontEnd: time 3.587e-06/0.8151, allocations: 0 / 0.7607 GB, free: 12.91 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.8152, allocations: 19.94 kB / 0.7607 GB, free: 12.89 MB / 0.5263 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.003105/0.8183, allocations: 1.565 MB / 0.7622 GB, free: 11.32 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8183, allocations: 8.031 kB / 0.7623 GB, free: 11.31 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.8185, allocations: 87.02 kB / 0.7623 GB, free: 11.22 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.82, allocations: 0.9071 MB / 0.7632 GB, free: 10.29 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.8201, allocations: 61.31 kB / 0.7633 GB, free: 10.26 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.8202, allocations: 114.2 kB / 0.7634 GB, free: 10.18 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.8218, allocations: 1.125 MB / 0.7645 GB, free: 9.309 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.8218, allocations: 3.984 kB / 0.7645 GB, free: 9.305 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.8219, allocations: 31.17 kB / 0.7645 GB, free: 9.297 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.8219, allocations: 23.95 kB / 0.7645 GB, free: 9.273 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.8235, allocations: 1.268 MB / 0.7658 GB, free: 8.246 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.8249, allocations: 1.076 MB / 0.7668 GB, free: 7.328 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005923/0.8308, allocations: 2.773 MB / 0.7695 GB, free: 5.207 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.831, allocations: 131 kB / 0.7697 GB, free: 5.066 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.8311, allocations: 57.12 kB / 0.7697 GB, free: 5.02 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=203): time 3.667e-06/0.8311, allocations: 0 / 0.7697 GB, free: 5.02 MB / 0.5263 GB Notification: Performance of matching and sorting (n=203): time 0.003603/0.8347, allocations: 2.65 MB / 0.7723 GB, free: 2.992 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.8347, allocations: 73.41 kB / 0.7724 GB, free: 2.91 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.8349, allocations: 207.4 kB / 0.7726 GB, free: 2.723 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.216e-05/0.835, allocations: 56.64 kB / 0.7726 GB, free: 2.684 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.8351, allocations: 138 kB / 0.7728 GB, free: 2.578 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/0.8356, allocations: 0.781 MB / 0.7735 GB, free: 1.895 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.8357, allocations: 50.88 kB / 0.7736 GB, free: 1.883 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8358, allocations: 421.3 kB / 0.774 GB, free: 1.504 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.8371, allocations: 0.9049 MB / 0.7749 GB, free: 0.8242 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.8383, allocations: 0.9278 MB / 0.7758 GB, free: 120 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.8398, allocations: 1.089 MB / 0.7768 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8398, allocations: 4 kB / 0.7768 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003227/0.843, allocations: 2.406 MB / 0.7792 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.843, allocations: 8 kB / 0.7792 GB, free: 13.47 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.843, allocations: 4 kB / 0.7792 GB, free: 13.47 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.8431, allocations: 8 kB / 0.7792 GB, free: 13.46 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/0.8463, allocations: 0.5494 MB / 0.7797 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.8463, allocations: 9.719 kB / 0.7797 GB, free: 12.92 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.847, allocations: 145.2 kB / 0.7799 GB, free: 12.81 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.8471, allocations: 79.36 kB / 0.78 GB, free: 12.75 MB / 0.5419 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 () * Number of clocked 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.0003857/0.8475, allocations: 307.4 kB / 0.7803 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.8476, allocations: 91.83 kB / 0.7803 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.8516, allocations: 2.727 MB / 0.783 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.8516, allocations: 28 kB / 0.783 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8516, allocations: 0 / 0.783 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.8517, allocations: 11.95 kB / 0.783 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.8532, allocations: 1.347 MB / 0.7844 GB, free: 9.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8532, allocations: 0 / 0.7844 GB, free: 9.23 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00383/0.857, allocations: 0.6196 MB / 0.785 GB, free: 8.633 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.857, allocations: 8 kB / 0.785 GB, free: 8.625 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.8572, allocations: 94.73 kB / 0.7851 GB, free: 8.566 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.8572, allocations: 8 kB / 0.7851 GB, free: 8.559 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8572, allocations: 3.938 kB / 0.7851 GB, free: 8.555 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004433/0.8617, allocations: 3.603 MB / 0.7886 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/0.8624, allocations: 422.2 kB / 0.789 GB, free: 5.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.8626, allocations: 78.64 kB / 0.7891 GB, free: 5.367 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.8632, allocations: 46.62 kB / 0.7891 GB, free: 5.359 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.8634, allocations: 157.4 kB / 0.7893 GB, free: 5.219 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.8636, allocations: 83.28 kB / 0.7893 GB, free: 5.156 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001216/0.8637, allocations: 171.8 kB / 0.7895 GB, free: 5.008 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8637, allocations: 0 / 0.7895 GB, free: 5.008 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007421/0.8644, allocations: 457.1 kB / 0.7899 GB, free: 4.629 MB / 0.5419 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 () * Number of clocked 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.000318/0.8648, allocations: 231.7 kB / 0.7902 GB, free: 4.434 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.8676, allocations: 2.26 MB / 0.7924 GB, free: 2.652 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8676, allocations: 0 / 0.7924 GB, free: 2.652 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.8691, allocations: 1.262 MB / 0.7936 GB, free: 1.672 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.8696, allocations: 151.9 kB / 0.7937 GB, free: 1.582 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007275/0.8769, allocations: 6.5 MB / 0.8001 GB, free: 11.28 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.8776, allocations: 1.182 MB / 0.8012 GB, free: 10.07 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.001693/0.8793, allocations: 0.7474 MB / 0.802 GB, free: 9.324 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/0.8799, allocations: 167 kB / 0.8021 GB, free: 9.172 MB / 0.5575 GB Notification: Performance of SimCode: time 5.21e-07/0.8799, allocations: 0 / 0.8021 GB, free: 9.172 MB / 0.5575 GB Notification: Performance of Templates: time 0.02584/0.9057, allocations: 16.88 MB / 0.8186 GB, free: 8.367 MB / 0.5732 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