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 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_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 3.2.3+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 176.1 kB / 17.4 MB, free: 4.16 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.421/1.421, allocations: 205.4 MB / 223.5 MB, free: 9.012 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.0007947/0.0007945, allocations: 91.64 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8709/0.8709, allocations: 120.4 MB / 440.6 MB, free: 4.066 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 15.94 kB / 0.5201 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1256, allocations: 80.01 MB / 0.5983 GB, free: 7.77 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6027/0.7283, allocations: 125.1 MB / 0.7204 GB, free: 18.74 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.7286, allocations: 63.52 kB / 0.7205 GB, free: 18.72 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.03196/0.7605, allocations: 12.33 MB / 0.7325 GB, free: 7.617 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7606, allocations: 4 kB / 0.7325 GB, free: 7.613 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.758e-05/0.7606, allocations: 16 kB / 0.7325 GB, free: 7.598 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.003212/0.7638, allocations: 1.555 MB / 0.734 GB, free: 6.039 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.7639, allocations: 8.031 kB / 0.734 GB, free: 6.031 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.7643, allocations: 88 kB / 0.7341 GB, free: 5.945 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.7657, allocations: 0.9165 MB / 0.735 GB, free: 5.008 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.7658, allocations: 57.69 kB / 0.7351 GB, free: 4.977 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.7661, allocations: 118.3 kB / 0.7352 GB, free: 4.898 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.7678, allocations: 1.126 MB / 0.7363 GB, free: 4.027 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.7679, allocations: 3.938 kB / 0.7363 GB, free: 4.023 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.768, allocations: 36.31 kB / 0.7363 GB, free: 4.016 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.768, allocations: 20 kB / 0.7363 GB, free: 3.996 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.7697, allocations: 1.262 MB / 0.7376 GB, free: 2.969 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.7712, allocations: 1.091 MB / 0.7386 GB, free: 2.039 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005574/0.7768, allocations: 2.773 MB / 0.7414 GB, free: 15.91 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.7781, allocations: 0.8757 MB / 0.7422 GB, free: 15.29 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.7783, allocations: 122.9 kB / 0.7423 GB, free: 15.16 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.7784, allocations: 64.19 kB / 0.7424 GB, free: 15.1 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=203): time 5.42e-06/0.7784, allocations: 3.984 kB / 0.7424 GB, free: 15.1 MB / 0.5109 GB Notification: Performance of matching and sorting (n=203): time 0.004187/0.7826, allocations: 2.649 MB / 0.745 GB, free: 13.07 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.7827, allocations: 77.39 kB / 0.745 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.783, allocations: 232 kB / 0.7453 GB, free: 12.77 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/0.7831, allocations: 52.89 kB / 0.7453 GB, free: 12.74 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.7832, allocations: 136.9 kB / 0.7455 GB, free: 12.63 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000654/0.7838, allocations: 0.778 MB / 0.7462 GB, free: 11.95 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.784, allocations: 50.75 kB / 0.7463 GB, free: 11.94 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.7842, allocations: 416.9 kB / 0.7467 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.7857, allocations: 0.9086 MB / 0.7475 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.7871, allocations: 0.9431 MB / 0.7485 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.7901, allocations: 2.046 MB / 0.7505 GB, free: 8.707 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.7901, allocations: 4 kB / 0.7505 GB, free: 8.703 MB / 0.5109 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003523/0.7936, allocations: 2.406 MB / 0.7528 GB, free: 6.859 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.7937, allocations: 20.64 kB / 0.7528 GB, free: 6.84 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.7937, allocations: 0 / 0.7528 GB, free: 6.84 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.7937, allocations: 12 kB / 0.7528 GB, free: 6.828 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/0.7969, allocations: 0.5412 MB / 0.7534 GB, free: 6.305 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.435e-05/0.7969, allocations: 12 kB / 0.7534 GB, free: 6.293 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.7977, allocations: 148.9 kB / 0.7535 GB, free: 6.18 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.7979, allocations: 78.78 kB / 0.7536 GB, free: 6.121 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.0005096/0.7984, allocations: 311.4 kB / 0.7539 GB, free: 5.867 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.7986, allocations: 87 kB / 0.754 GB, free: 5.781 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.8032, allocations: 2.717 MB / 0.7566 GB, free: 3.781 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.8032, allocations: 28 kB / 0.7567 GB, free: 3.754 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.8032, allocations: 0 / 0.7567 GB, free: 3.754 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/0.8033, allocations: 11.95 kB / 0.7567 GB, free: 3.742 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.805, allocations: 1.339 MB / 0.758 GB, free: 2.621 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.805, allocations: 0 / 0.758 GB, free: 2.621 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003916/0.8089, allocations: 0.612 MB / 0.7586 GB, free: 2.027 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.614e-05/0.809, allocations: 11.94 kB / 0.7586 GB, free: 2.016 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.8092, allocations: 98.36 kB / 0.7587 GB, free: 1.957 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/0.8092, allocations: 8 kB / 0.7587 GB, free: 1.949 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8092, allocations: 0 / 0.7587 GB, free: 1.949 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005052/0.8143, allocations: 3.595 MB / 0.7622 GB, free: 15.22 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.815, allocations: 426 kB / 0.7626 GB, free: 14.8 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.8152, allocations: 83.64 kB / 0.7627 GB, free: 14.76 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.8158, allocations: 42.44 kB / 0.7627 GB, free: 14.75 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.8161, allocations: 165.3 kB / 0.7629 GB, free: 14.61 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.8163, allocations: 79.47 kB / 0.763 GB, free: 14.54 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0001381/0.8164, allocations: 167.6 kB / 0.7631 GB, free: 14.4 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1e-07/0.8164, allocations: 0 / 0.7631 GB, free: 14.4 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0008502/0.8173, allocations: 461.1 kB / 0.7636 GB, free: 14.02 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.0003595/0.8176, allocations: 219.8 kB / 0.7638 GB, free: 13.83 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.8209, allocations: 2.267 MB / 0.766 GB, free: 12.05 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8209, allocations: 3.938 kB / 0.766 GB, free: 12.04 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8225, allocations: 1.255 MB / 0.7672 GB, free: 11.07 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.8233, allocations: 202 kB / 0.7674 GB, free: 10.96 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/0.8313, allocations: 6.507 MB / 0.7738 GB, free: 4.656 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.8321, allocations: 1.155 MB / 0.7749 GB, free: 3.48 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.002392/0.8345, allocations: 0.7512 MB / 0.7756 GB, free: 2.727 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/0.8353, allocations: 170.9 kB / 0.7758 GB, free: 2.574 MB / 0.5265 GB Notification: Performance of SimCode: time 6.81e-07/0.8353, allocations: 0 / 0.7758 GB, free: 2.574 MB / 0.5265 GB Notification: Performance of Templates: time 0.02772/0.863, allocations: 17.02 MB / 0.7924 GB, free: 1.547 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 -abortSlowSimulation -alarm=300 -s=ida -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