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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0008945/0.0008944, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 223.5 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007448/0.0007448, allocations: 85.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7447/0.7447, allocations: 120.4 MB / 440.6 MB, free: 4.102 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 12 kB / 0.5202 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 80 MB / 0.5983 GB, free: 7.785 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5604/0.6674, allocations: 125.1 MB / 0.7204 GB, free: 19.02 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000155/0.6676, allocations: 62.69 kB / 0.7205 GB, free: 19 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.03124/0.6989, allocations: 12.33 MB / 0.7325 GB, free: 7.895 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6989, allocations: 4 kB / 0.7325 GB, free: 7.891 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.6989, allocations: 16 kB / 0.7325 GB, free: 7.875 MB / 0.4953 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.002803/0.7017, allocations: 1.559 MB / 0.734 GB, free: 6.312 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7018, allocations: 8.031 kB / 0.734 GB, free: 6.305 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.7021, allocations: 88 kB / 0.7341 GB, free: 6.219 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.7034, allocations: 0.9124 MB / 0.735 GB, free: 5.285 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.7034, allocations: 61.19 kB / 0.7351 GB, free: 5.254 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.7037, allocations: 114.4 kB / 0.7352 GB, free: 5.176 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.7053, allocations: 1.136 MB / 0.7363 GB, free: 4.297 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.7054, allocations: 3.938 kB / 0.7363 GB, free: 4.293 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/0.7055, allocations: 40.3 kB / 0.7363 GB, free: 4.281 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.7055, allocations: 20 kB / 0.7364 GB, free: 4.262 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.707, allocations: 1.253 MB / 0.7376 GB, free: 3.238 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.7082, allocations: 1.089 MB / 0.7386 GB, free: 2.312 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005176/0.7134, allocations: 2.767 MB / 0.7414 GB, free: 196 kB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.7147, allocations: 0.879 MB / 0.7422 GB, free: 15.57 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.715, allocations: 126.8 kB / 0.7423 GB, free: 15.43 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.7151, allocations: 68 kB / 0.7424 GB, free: 15.37 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=203): time 3.767e-06/0.7151, allocations: 3.938 kB / 0.7424 GB, free: 15.37 MB / 0.5109 GB Notification: Performance of matching and sorting (n=203): time 0.003989/0.7191, allocations: 2.652 MB / 0.745 GB, free: 13.34 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.7191, allocations: 73.41 kB / 0.7451 GB, free: 13.25 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.7194, allocations: 231.6 kB / 0.7453 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/0.7195, allocations: 53.2 kB / 0.7453 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.7196, allocations: 133.8 kB / 0.7455 GB, free: 12.91 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/0.7202, allocations: 0.7779 MB / 0.7462 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.7203, allocations: 49.62 kB / 0.7463 GB, free: 12.21 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7205, allocations: 417.7 kB / 0.7467 GB, free: 11.84 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.7219, allocations: 0.9089 MB / 0.7476 GB, free: 11.16 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.7232, allocations: 0.9393 MB / 0.7485 GB, free: 10.44 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.7261, allocations: 2.049 MB / 0.7505 GB, free: 8.98 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7261, allocations: 0 / 0.7505 GB, free: 8.98 MB / 0.5109 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003395/0.7295, allocations: 2.414 MB / 0.7528 GB, free: 7.129 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.7296, allocations: 12.72 kB / 0.7528 GB, free: 7.117 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.7296, allocations: 0 / 0.7528 GB, free: 7.117 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.7296, allocations: 12.88 kB / 0.7529 GB, free: 7.105 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/0.7326, allocations: 0.545 MB / 0.7534 GB, free: 6.578 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.859e-05/0.7327, allocations: 12 kB / 0.7534 GB, free: 6.566 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.7334, allocations: 145.2 kB / 0.7535 GB, free: 6.457 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.7335, allocations: 83.22 kB / 0.7536 GB, free: 6.395 MB / 0.5109 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.0004754/0.734, allocations: 307.2 kB / 0.7539 GB, free: 6.145 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.7342, allocations: 87 kB / 0.754 GB, free: 6.059 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/0.7385, allocations: 2.713 MB / 0.7566 GB, free: 4.062 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.7385, allocations: 28 kB / 0.7567 GB, free: 4.035 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.7385, allocations: 4 kB / 0.7567 GB, free: 4.031 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.7386, allocations: 15.89 kB / 0.7567 GB, free: 4.016 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.7402, allocations: 1.331 MB / 0.758 GB, free: 2.902 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7402, allocations: 7.938 kB / 0.758 GB, free: 2.895 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003772/0.744, allocations: 0.6118 MB / 0.7586 GB, free: 2.305 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.278e-05/0.744, allocations: 11.94 kB / 0.7586 GB, free: 2.293 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.7442, allocations: 94.8 kB / 0.7587 GB, free: 2.234 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/0.7443, allocations: 8 kB / 0.7587 GB, free: 2.227 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7443, allocations: 0 / 0.7587 GB, free: 2.227 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.7492, allocations: 3.6 MB / 0.7622 GB, free: 15.49 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/0.7498, allocations: 429.7 kB / 0.7626 GB, free: 15.07 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.7501, allocations: 82.52 kB / 0.7627 GB, free: 15.03 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.7507, allocations: 42.75 kB / 0.7627 GB, free: 15.02 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.751, allocations: 165.4 kB / 0.7629 GB, free: 14.88 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.7512, allocations: 79.53 kB / 0.763 GB, free: 14.81 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0001459/0.7513, allocations: 167.3 kB / 0.7631 GB, free: 14.67 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7513, allocations: 0 / 0.7631 GB, free: 14.67 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0008645/0.7522, allocations: 461.7 kB / 0.7636 GB, free: 14.29 MB / 0.5265 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.0003437/0.7525, allocations: 223.2 kB / 0.7638 GB, free: 14.1 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.003266/0.7558, allocations: 2.267 MB / 0.766 GB, free: 12.31 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7558, allocations: 0 / 0.766 GB, free: 12.31 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.7575, allocations: 1.255 MB / 0.7672 GB, free: 11.34 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.7583, allocations: 201 kB / 0.7674 GB, free: 11.23 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/0.766, allocations: 6.511 MB / 0.7738 GB, free: 4.922 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/0.7667, allocations: 1.155 MB / 0.7749 GB, free: 3.746 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.002519/0.7692, allocations: 0.7397 MB / 0.7756 GB, free: 3.004 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/0.77, allocations: 170.8 kB / 0.7758 GB, free: 2.852 MB / 0.5265 GB Notification: Performance of SimCode: time 1.092e-06/0.77, allocations: 0 / 0.7758 GB, free: 2.852 MB / 0.5265 GB Notification: Performance of Templates: time 0.02642/0.7964, allocations: 17.02 MB / 0.7924 GB, free: 1.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 -abortSlowSimulation -alarm=300 -s=ida -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/jenkins1/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