Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 174.8 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.411/1.411, allocations: 221.4 MB / 235.5 MB, free: 2.941 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.0008995/0.0008997, allocations: 105.1 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.04/1.04, allocations: 120.5 MB / 457.9 MB, free: 7.016 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.193e-05, allocations: 7.984 kB / 0.5367 GB, free: 11.18 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5954/0.5955, allocations: 82.83 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.754, allocations: 125.8 MB / 0.7404 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.7545, allocations: 75.84 kB / 0.7405 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.7682, allocations: 4.061 MB / 0.7445 GB, free: 7.168 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7683, allocations: 0 / 0.7445 GB, free: 7.168 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.7683, allocations: 4 kB / 0.7445 GB, free: 7.164 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009693/0.7693, allocations: 0.5607 MB / 0.745 GB, free: 6.555 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7694, allocations: 12.03 kB / 0.745 GB, free: 6.543 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.7694, allocations: 27.67 kB / 0.7451 GB, free: 6.516 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.7699, allocations: 292.6 kB / 0.7454 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.7699, allocations: 16.44 kB / 0.7454 GB, free: 6.176 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.77, allocations: 31.91 kB / 0.7454 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.7705, allocations: 315.1 kB / 0.7457 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7705, allocations: 0 / 0.7457 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.7706, allocations: 4 kB / 0.7457 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7706, allocations: 8 kB / 0.7457 GB, free: 5.816 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.771, allocations: 285.5 kB / 0.746 GB, free: 5.539 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.7715, allocations: 391.2 kB / 0.7464 GB, free: 5.105 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.7733, allocations: 0.6776 MB / 0.747 GB, free: 4.426 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.7736, allocations: 226.1 kB / 0.7472 GB, free: 4.203 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.7738, allocations: 93.53 kB / 0.7473 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7739, allocations: 42.98 kB / 0.7474 GB, free: 4.043 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 1.834e-06/0.7739, allocations: 0 / 0.7474 GB, free: 4.043 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.000855/0.7747, allocations: 0.4974 MB / 0.7479 GB, free: 3.531 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.7748, allocations: 55.84 kB / 0.7479 GB, free: 3.465 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.7749, allocations: 130.2 kB / 0.748 GB, free: 3.324 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.775, allocations: 37.69 kB / 0.7481 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.775, allocations: 101.2 kB / 0.7482 GB, free: 3.18 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.7752, allocations: 216.9 kB / 0.7484 GB, free: 2.965 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.7752, allocations: 12 kB / 0.7484 GB, free: 2.953 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7754, allocations: 338.8 kB / 0.7487 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.7758, allocations: 241.4 kB / 0.7489 GB, free: 2.379 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.7761, allocations: 250.9 kB / 0.7492 GB, free: 2.133 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.7766, allocations: 289.9 kB / 0.7494 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7766, allocations: 0 / 0.7494 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009816/0.7776, allocations: 0.6521 MB / 0.7501 GB, free: 1.191 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7776, allocations: 4 kB / 0.7501 GB, free: 1.188 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7777, allocations: 4 kB / 0.7501 GB, free: 1.184 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.7777, allocations: 4 kB / 0.7501 GB, free: 1.18 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.7784, allocations: 151.8 kB / 0.7502 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.7784, allocations: 7.938 kB / 0.7502 GB, free: 1.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.7786, allocations: 35.59 kB / 0.7503 GB, free: 0.9883 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.7787, allocations: 20 kB / 0.7503 GB, free: 0.9688 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001408/0.7788, allocations: 132.9 kB / 0.7504 GB, free: 0.832 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.7789, allocations: 27.72 kB / 0.7505 GB, free: 0.8047 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.7802, allocations: 0.7191 MB / 0.7512 GB, free: 84 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.7802, allocations: 4 kB / 0.7512 GB, free: 80 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7802, allocations: 3.938 kB / 0.7512 GB, free: 76 kB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7803, allocations: 11.94 kB / 0.7512 GB, free: 64 kB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6739/1.454, allocations: 453.2 kB / 0.7516 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.454, allocations: 3.719 kB / 0.7516 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.455, allocations: 165.3 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/1.455, allocations: 3.188 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/1.455, allocations: 28.83 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.455, allocations: 2.5 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.455, allocations: 0.8906 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/1.457, allocations: 0.9511 MB / 0.7527 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/1.457, allocations: 168.7 kB / 0.7529 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/1.457, allocations: 26.08 kB / 0.7529 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/1.458, allocations: 13.19 kB / 0.7529 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/1.458, allocations: 42.05 kB / 0.753 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/1.458, allocations: 22.38 kB / 0.753 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 8.903e-05/1.458, allocations: 112.8 kB / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.31e-07/1.458, allocations: 0.9062 kB / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004294/1.458, allocations: 130.4 kB / 0.7532 GB, free: 132.2 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002107/1.459, allocations: 142.3 kB / 0.7534 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.46, allocations: 0.5747 MB / 0.7539 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.46, allocations: 4.938 kB / 0.7539 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004883/1.46, allocations: 320.6 kB / 0.7542 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/1.46, allocations: 45.91 kB / 0.7543 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/1.463, allocations: 1.478 MB / 0.7557 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/1.463, allocations: 0.8126 MB / 0.7565 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005809/1.464, allocations: 188.2 kB / 0.7567 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/1.464, allocations: 50.22 kB / 0.7567 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of SimCode: time 1.543e-06/1.464, allocations: 0 / 0.7567 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.00994/1.474, allocations: 4.723 MB / 0.7614 GB, free: 129.9 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches