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.001067/0.001067, allocations: 175.6 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.31/1.31, allocations: 221.4 MB / 235.5 MB, free: 2.93 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.001027/0.001027, allocations: 91.66 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.043/1.043, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.977e-05, allocations: 4 kB / 0.5367 GB, free: 11.22 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6064/0.6064, allocations: 82.83 MB / 0.6176 GB, free: 9.301 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.776, allocations: 125.8 MB / 0.7405 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.7762, allocations: 63.8 kB / 0.7405 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008858/0.7851, allocations: 2.773 MB / 0.7432 GB, free: 8.484 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7852, allocations: 0 / 0.7432 GB, free: 8.484 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.7852, allocations: 0 / 0.7432 GB, free: 8.484 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006232/0.7858, allocations: 454.3 kB / 0.7437 GB, free: 7.992 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7859, allocations: 12.03 kB / 0.7437 GB, free: 7.98 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.7859, allocations: 11.86 kB / 0.7437 GB, free: 7.969 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.7862, allocations: 231 kB / 0.7439 GB, free: 7.703 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.7863, allocations: 8.234 kB / 0.7439 GB, free: 7.695 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.7863, allocations: 19.91 kB / 0.7439 GB, free: 7.676 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.7867, allocations: 172.6 kB / 0.7441 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7867, allocations: 0 / 0.7441 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.7867, allocations: 4 kB / 0.7441 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.7867, allocations: 4 kB / 0.7441 GB, free: 7.496 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.787, allocations: 148.5 kB / 0.7442 GB, free: 7.352 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.7873, allocations: 282.1 kB / 0.7445 GB, free: 7.027 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.7883, allocations: 350.9 kB / 0.7448 GB, free: 6.676 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.7885, allocations: 116.8 kB / 0.745 GB, free: 6.559 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.7887, allocations: 89.09 kB / 0.745 GB, free: 6.453 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.7887, allocations: 38.56 kB / 0.7451 GB, free: 6.406 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.7887, allocations: 0 / 0.7451 GB, free: 6.406 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.0005216/0.7892, allocations: 282 kB / 0.7453 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.7893, allocations: 51.41 kB / 0.7454 GB, free: 6.062 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.7894, allocations: 118.7 kB / 0.7455 GB, free: 5.941 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.7894, allocations: 33.7 kB / 0.7455 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.7895, allocations: 92.69 kB / 0.7456 GB, free: 5.809 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.7896, allocations: 114.4 kB / 0.7457 GB, free: 5.695 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.7896, allocations: 8 kB / 0.7457 GB, free: 5.688 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7898, allocations: 334.8 kB / 0.7461 GB, free: 5.352 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.79, allocations: 124.5 kB / 0.7462 GB, free: 5.227 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.7902, allocations: 129.2 kB / 0.7463 GB, free: 5.102 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.7905, allocations: 145.5 kB / 0.7464 GB, free: 4.961 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7905, allocations: 0 / 0.7464 GB, free: 4.961 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005255/0.791, allocations: 362.1 kB / 0.7468 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.791, allocations: 5.25 kB / 0.7468 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7911, allocations: 0 / 0.7468 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.7911, allocations: 4 kB / 0.7468 GB, free: 4.594 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.7915, allocations: 79.89 kB / 0.7469 GB, free: 4.516 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.7915, allocations: 4 kB / 0.7469 GB, free: 4.512 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.7916, allocations: 23.75 kB / 0.7469 GB, free: 4.488 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.7917, allocations: 11.95 kB / 0.7469 GB, free: 4.477 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 (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.0001107/0.7918, allocations: 120.9 kB / 0.747 GB, free: 4.352 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.7918, allocations: 15.81 kB / 0.747 GB, free: 4.336 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007677/0.7926, allocations: 398.8 kB / 0.7474 GB, free: 3.938 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.7926, allocations: 4 kB / 0.7474 GB, free: 3.934 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7926, allocations: 3.938 kB / 0.7474 GB, free: 3.93 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.7927, allocations: 3.984 kB / 0.7474 GB, free: 3.926 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.7931, allocations: 309.3 kB / 0.7477 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7931, allocations: 4 kB / 0.7477 GB, free: 3.57 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.7936, allocations: 91.89 kB / 0.7478 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7936, allocations: 0 / 0.7478 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.7936, allocations: 11.98 kB / 0.7478 GB, free: 3.469 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.7936, allocations: 4 kB / 0.7478 GB, free: 3.465 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7936, allocations: 0 / 0.7478 GB, free: 3.465 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.7945, allocations: 0.5144 MB / 0.7483 GB, free: 2.93 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.7947, allocations: 124.8 kB / 0.7485 GB, free: 2.789 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.7948, allocations: 16 kB / 0.7485 GB, free: 2.773 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.7949, allocations: 4 kB / 0.7485 GB, free: 2.77 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.7949, allocations: 35.83 kB / 0.7485 GB, free: 2.734 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.795, allocations: 8 kB / 0.7485 GB, free: 2.727 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 7.953e-05/0.7951, allocations: 104.7 kB / 0.7486 GB, free: 2.625 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7951, allocations: 0 / 0.7486 GB, free: 2.625 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003164/0.7954, allocations: 67.94 kB / 0.7487 GB, free: 2.559 MB / 0.5419 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 () * 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.0002018/0.7956, allocations: 131.2 kB / 0.7488 GB, free: 2.422 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.7961, allocations: 295.8 kB / 0.7491 GB, free: 2.133 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7961, allocations: 0 / 0.7491 GB, free: 2.133 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.7963, allocations: 163.8 kB / 0.7493 GB, free: 1.973 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.7966, allocations: 35.92 kB / 0.7493 GB, free: 1.938 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.7978, allocations: 0.8075 MB / 0.7501 GB, free: 1.105 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.7982, allocations: 0.7527 MB / 0.7508 GB, free: 336 kB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002732/0.7985, allocations: 97.91 kB / 0.7509 GB, free: 236 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.7986, allocations: 31.42 kB / 0.7509 GB, free: 204 kB / 0.5419 GB Notification: Performance of SimCode: time 3.01e-07/0.7986, allocations: 0 / 0.7509 GB, free: 204 kB / 0.5419 GB Notification: Performance of Templates: time 0.6174/1.416, allocations: 2.661 MB / 0.7535 GB, free: 132.4 MB / 0.5421 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