Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 181.3 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.237/1.237, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0008812/0.0008812, allocations: 97.44 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7394/0.7394, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 8 kB / 0.5446 GB, free: 41.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 82.85 MB / 0.6255 GB, free: 7.895 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7065/0.8603, allocations: 125.9 MB / 0.7485 GB, free: 8.398 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.8606, allocations: 61.91 kB / 0.7486 GB, free: 8.367 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.008801/0.8694, allocations: 2.767 MB / 0.7513 GB, free: 5.91 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8694, allocations: 3.938 kB / 0.7513 GB, free: 5.906 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.8694, allocations: 4 kB / 0.7513 GB, free: 5.902 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006803/0.8701, allocations: 462.9 kB / 0.7517 GB, free: 5.406 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8702, allocations: 12.03 kB / 0.7517 GB, free: 5.395 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.8702, allocations: 27.62 kB / 0.7517 GB, free: 5.371 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.8705, allocations: 222.8 kB / 0.752 GB, free: 5.117 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.8706, allocations: 8.172 kB / 0.752 GB, free: 5.113 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.8706, allocations: 19.88 kB / 0.752 GB, free: 5.098 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.8709, allocations: 181.3 kB / 0.7522 GB, free: 4.953 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.8709, allocations: 0 / 0.7522 GB, free: 4.953 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.871, allocations: 7.938 kB / 0.7522 GB, free: 4.949 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.871, allocations: 7.953 kB / 0.7522 GB, free: 4.941 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.8712, allocations: 142.5 kB / 0.7523 GB, free: 4.832 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.8715, allocations: 281 kB / 0.7526 GB, free: 4.539 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.8725, allocations: 355 kB / 0.7529 GB, free: 4.25 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.8727, allocations: 92.97 kB / 0.753 GB, free: 4.145 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.8727, allocations: 34.56 kB / 0.753 GB, free: 4.102 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.8727, allocations: 3.938 kB / 0.753 GB, free: 4.098 MB / 0.5107 GB Notification: Performance of matching and sorting (n=28): time 0.0006013/0.8733, allocations: 373.9 kB / 0.7534 GB, free: 3.809 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.8734, allocations: 59.41 kB / 0.7535 GB, free: 3.738 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.8735, allocations: 128.7 kB / 0.7536 GB, free: 3.613 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.8735, allocations: 25.7 kB / 0.7536 GB, free: 3.582 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.8736, allocations: 99.56 kB / 0.7537 GB, free: 3.492 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.8737, allocations: 106.1 kB / 0.7538 GB, free: 3.402 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.8737, allocations: 3.875 kB / 0.7538 GB, free: 3.402 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8738, allocations: 334.6 kB / 0.7541 GB, free: 3.074 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.874, allocations: 118.8 kB / 0.7542 GB, free: 2.984 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.8742, allocations: 127.3 kB / 0.7544 GB, free: 2.887 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.8744, allocations: 145.6 kB / 0.7545 GB, free: 2.789 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8744, allocations: 0 / 0.7545 GB, free: 2.789 MB / 0.5107 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004685/0.8748, allocations: 356.6 kB / 0.7548 GB, free: 2.516 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8749, allocations: 4 kB / 0.7548 GB, free: 2.512 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8749, allocations: 1.719 kB / 0.7548 GB, free: 2.512 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8749, allocations: 4 kB / 0.7548 GB, free: 2.508 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.8753, allocations: 75.89 kB / 0.7549 GB, free: 2.434 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.8753, allocations: 0 / 0.7549 GB, free: 2.434 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.8754, allocations: 27.59 kB / 0.7549 GB, free: 2.414 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.8755, allocations: 11.95 kB / 0.755 GB, free: 2.402 MB / 0.5107 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 (39): * Single equations (assignments): 39 * 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.0001109/0.8756, allocations: 141.6 kB / 0.7551 GB, free: 2.266 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.8756, allocations: 15.81 kB / 0.7551 GB, free: 2.25 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006274/0.8762, allocations: 402.8 kB / 0.7555 GB, free: 1.945 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8763, allocations: 4 kB / 0.7555 GB, free: 1.941 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8763, allocations: 0 / 0.7555 GB, free: 1.941 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8763, allocations: 0 / 0.7555 GB, free: 1.941 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.8766, allocations: 323 kB / 0.7558 GB, free: 1.613 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8766, allocations: 0 / 0.7558 GB, free: 1.613 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.8771, allocations: 87.7 kB / 0.7559 GB, free: 1.531 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8771, allocations: 0 / 0.7559 GB, free: 1.531 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.8771, allocations: 23.86 kB / 0.7559 GB, free: 1.512 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8771, allocations: 0 / 0.7559 GB, free: 1.512 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8771, allocations: 0 / 0.7559 GB, free: 1.512 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007647/0.8779, allocations: 0.5271 MB / 0.7564 GB, free: 1.082 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.8781, allocations: 123.8 kB / 0.7565 GB, free: 0.9453 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.8781, allocations: 8.562 kB / 0.7565 GB, free: 0.9414 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.8782, allocations: 4.812 kB / 0.7565 GB, free: 0.9414 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.8783, allocations: 26.91 kB / 0.7566 GB, free: 0.918 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.8783, allocations: 17.98 kB / 0.7566 GB, free: 0.9023 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.8784, allocations: 104.1 kB / 0.7567 GB, free: 0.8086 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8784, allocations: 0 / 0.7567 GB, free: 0.8086 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002641/0.8787, allocations: 73.38 kB / 0.7568 GB, free: 0.75 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001678/0.8788, allocations: 119 kB / 0.7569 GB, free: 0.6289 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.8793, allocations: 300.8 kB / 0.7572 GB, free: 408 kB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8793, allocations: 0 / 0.7572 GB, free: 408 kB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.8795, allocations: 166.9 kB / 0.7573 GB, free: 276 kB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.8797, allocations: 30.88 kB / 0.7574 GB, free: 256 kB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.8811, allocations: 1.016 MB / 0.7583 GB, free: 15.23 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.8814, allocations: 0.7569 MB / 0.7591 GB, free: 14.45 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.8816, allocations: 93.84 kB / 0.7592 GB, free: 14.36 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.8817, allocations: 31.25 kB / 0.7592 GB, free: 14.34 MB / 0.5263 GB Notification: Performance of SimCode: time 2.2e-07/0.8817, allocations: 0 / 0.7592 GB, free: 14.34 MB / 0.5263 GB Notification: Performance of Templates: time 0.0054/0.8872, allocations: 2.644 MB / 0.7618 GB, free: 11.72 MB / 0.5263 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches