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.001502/0.001502, allocations: 179.5 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.497/1.497, allocations: 221.3 MB / 235.5 MB, free: 2.91 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.001055/0.001056, allocations: 89.67 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.177/1.177, allocations: 120.5 MB / 457.8 MB, free: 7.074 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.97e-05, allocations: 0 / 0.5367 GB, free: 11.23 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6884, allocations: 82.84 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.8742, allocations: 125.8 MB / 0.7405 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.8745, allocations: 63.91 kB / 0.7405 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.007/1.882, allocations: 12.47 MB / 0.7527 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of FrontEnd: time 3.958e-06/1.882, allocations: 1.484 kB / 0.7527 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4.054e-05/1.882, allocations: 14.56 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.006298/1.888, allocations: 1.529 MB / 0.7542 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/1.888, allocations: 9.969 kB / 0.7542 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/1.889, allocations: 86.52 kB / 0.7543 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/1.892, allocations: 0.9068 MB / 0.7552 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/1.892, allocations: 60.44 kB / 0.7552 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004484/1.893, allocations: 113.9 kB / 0.7553 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/1.897, allocations: 1.109 MB / 0.7564 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/1.897, allocations: 4 kB / 0.7564 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/1.897, allocations: 35.09 kB / 0.7565 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/1.897, allocations: 19.41 kB / 0.7565 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/1.901, allocations: 1.244 MB / 0.7577 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/1.903, allocations: 1.078 MB / 0.7587 GB, free: 127 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/1.915, allocations: 2.743 MB / 0.7614 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/1.917, allocations: 0.8536 MB / 0.7623 GB, free: 126 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/1.918, allocations: 133.4 kB / 0.7624 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/1.918, allocations: 52.34 kB / 0.7624 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=203): time 7.113e-06/1.918, allocations: 3.938 kB / 0.7624 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=203): time 0.004776/1.922, allocations: 1.863 MB / 0.7643 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/1.923, allocations: 76.53 kB / 0.7643 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/1.923, allocations: 207.7 kB / 0.7645 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.923, allocations: 57.48 kB / 0.7646 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/1.923, allocations: 126.3 kB / 0.7647 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007648/1.924, allocations: 0.7799 MB / 0.7655 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.924, allocations: 47.25 kB / 0.7655 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.924, allocations: 415 kB / 0.7659 GB, free: 124 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/1.927, allocations: 0.9348 MB / 0.7668 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/1.929, allocations: 0.9525 MB / 0.7678 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/1.931, allocations: 1.113 MB / 0.7688 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.931, allocations: 0 / 0.7688 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005547/1.937, allocations: 2.458 MB / 0.7712 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/1.937, allocations: 4.781 kB / 0.7712 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.937, allocations: 4 kB / 0.7712 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.824e-05/1.937, allocations: 11.94 kB / 0.7713 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005746/1.943, allocations: 0.5473 MB / 0.7718 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.894e-05/1.943, allocations: 12 kB / 0.7718 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.945, allocations: 142.3 kB / 0.7719 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/1.945, allocations: 83.45 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.0005262/1.946, allocations: 208.5 kB / 0.7722 GB, free: 119.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/1.946, allocations: 83.06 kB / 0.7723 GB, free: 119.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006622/1.953, allocations: 2.679 MB / 0.7749 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.953, allocations: 28 kB / 0.7749 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.953, allocations: 4.875 kB / 0.7749 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/1.953, allocations: 15.47 kB / 0.775 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/1.955, allocations: 1.344 MB / 0.7763 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.955, allocations: 0 / 0.7763 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006686/1.962, allocations: 0.6109 MB / 0.7769 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-05/1.962, allocations: 8 kB / 0.7769 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005272/1.962, allocations: 97.89 kB / 0.777 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.97e-05/1.963, allocations: 12 kB / 0.777 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.963, allocations: 0 / 0.777 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007161/1.97, allocations: 3.543 MB / 0.7804 GB, free: 112 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.971, allocations: 422.8 kB / 0.7808 GB, free: 111.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.971, allocations: 79.95 kB / 0.7809 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.972, allocations: 44 kB / 0.781 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/1.973, allocations: 166 kB / 0.7811 GB, free: 111.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/1.973, allocations: 75.98 kB / 0.7812 GB, free: 111.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002183/1.973, allocations: 177.3 kB / 0.7814 GB, free: 111 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.61e-07/1.973, allocations: 0 / 0.7814 GB, free: 111 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001335/1.975, allocations: 451.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.0004794/1.975, allocations: 225 kB / 0.782 GB, free: 110.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.004613/1.98, allocations: 2.259 MB / 0.7842 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.98, allocations: 0 / 0.7842 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/1.982, allocations: 1.231 MB / 0.7854 GB, free: 106.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.983, allocations: 164.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.01012/1.993, allocations: 5.532 MB / 0.791 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/1.994, allocations: 1.182 MB / 0.7921 GB, free: 99.93 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.003453/1.997, allocations: 0.7513 MB / 0.7929 GB, free: 99.18 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000883/1.998, allocations: 171.4 kB / 0.793 GB, free: 99.01 MB / 0.5421 GB Notification: Performance of SimCode: time 2.134e-06/1.998, allocations: 0 / 0.793 GB, free: 99.01 MB / 0.5421 GB Notification: Performance of Templates: time 0.04407/2.042, allocations: 17.08 MB / 0.8097 GB, free: 82 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