Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001086/0.001086, allocations: 178.7 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.196/1.196, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008161/0.0008162, allocations: 95.55 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9415/0.9415, allocations: 120.4 MB / 457.8 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.582e-05, allocations: 0 / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5322, allocations: 82.82 MB / 0.6176 GB, free: 9.309 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.6889, allocations: 125.8 MB / 0.7405 GB, free: 11.33 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.6892, allocations: 63.91 kB / 0.7405 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008598/0.6978, allocations: 2.77 MB / 0.7432 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6979, allocations: 0 / 0.7432 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.6979, allocations: 4 kB / 0.7432 GB, free: 8.488 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.0005772/0.6985, allocations: 454.3 kB / 0.7437 GB, free: 7.996 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.6985, allocations: 8.031 kB / 0.7437 GB, free: 7.988 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.6986, allocations: 15.86 kB / 0.7437 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.6989, allocations: 235.6 kB / 0.7439 GB, free: 7.703 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6989, allocations: 8.234 kB / 0.7439 GB, free: 7.695 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.699, allocations: 15.91 kB / 0.7439 GB, free: 7.68 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.6993, allocations: 172.6 kB / 0.7441 GB, free: 7.508 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6993, allocations: 0 / 0.7441 GB, free: 7.508 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.6993, allocations: 4 kB / 0.7441 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6993, allocations: 4 kB / 0.7441 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.6996, allocations: 148.5 kB / 0.7442 GB, free: 7.355 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.6999, allocations: 278 kB / 0.7445 GB, free: 7.035 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009054/0.7008, allocations: 346.9 kB / 0.7448 GB, free: 6.688 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.701, allocations: 116.8 kB / 0.7449 GB, free: 6.57 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.7012, allocations: 93.08 kB / 0.745 GB, free: 6.461 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.7012, allocations: 42.56 kB / 0.7451 GB, free: 6.41 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.7012, allocations: 0 / 0.7451 GB, free: 6.41 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.0004598/0.7017, allocations: 278 kB / 0.7453 GB, free: 6.133 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.7017, allocations: 55.41 kB / 0.7454 GB, free: 6.066 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.7018, allocations: 124.2 kB / 0.7455 GB, free: 5.941 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.7019, allocations: 29.7 kB / 0.7455 GB, free: 5.906 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.7019, allocations: 96.69 kB / 0.7456 GB, free: 5.809 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.702, allocations: 106.4 kB / 0.7457 GB, free: 5.703 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.7021, allocations: 12 kB / 0.7457 GB, free: 5.691 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7022, allocations: 330.8 kB / 0.7461 GB, free: 5.359 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.7024, allocations: 124.6 kB / 0.7462 GB, free: 5.234 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.7025, allocations: 129.2 kB / 0.7463 GB, free: 5.109 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.7028, allocations: 141.5 kB / 0.7464 GB, free: 4.973 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7028, allocations: 3.938 kB / 0.7464 GB, free: 4.969 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005055/0.7033, allocations: 362.1 kB / 0.7468 GB, free: 4.609 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7033, allocations: 8 kB / 0.7468 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.7033, allocations: 0 / 0.7468 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.7033, allocations: 0 / 0.7468 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.7037, allocations: 79.89 kB / 0.7469 GB, free: 4.523 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.7037, allocations: 4 kB / 0.7469 GB, free: 4.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.7038, allocations: 23.75 kB / 0.7469 GB, free: 4.496 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.7039, allocations: 11.95 kB / 0.7469 GB, free: 4.484 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 8.381e-05/0.704, allocations: 112.9 kB / 0.747 GB, free: 4.367 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.704, allocations: 15.81 kB / 0.747 GB, free: 4.352 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.7047, allocations: 398.8 kB / 0.7474 GB, free: 3.953 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7047, allocations: 4 kB / 0.7474 GB, free: 3.949 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7047, allocations: 8 kB / 0.7474 GB, free: 3.941 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7047, allocations: 3.938 kB / 0.7474 GB, free: 3.938 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.705, allocations: 317.2 kB / 0.7477 GB, free: 3.578 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.705, allocations: 4 kB / 0.7477 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.7055, allocations: 87.89 kB / 0.7478 GB, free: 3.488 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.7055, allocations: 3.984 kB / 0.7478 GB, free: 3.484 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.7055, allocations: 15.98 kB / 0.7478 GB, free: 3.469 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7055, allocations: 0 / 0.7478 GB, free: 3.469 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7056, allocations: 0 / 0.7478 GB, free: 3.469 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.7063, allocations: 0.5222 MB / 0.7483 GB, free: 2.926 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.7064, allocations: 124.8 kB / 0.7485 GB, free: 2.785 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.7065, allocations: 12 kB / 0.7485 GB, free: 2.773 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.7066, allocations: 8 kB / 0.7485 GB, free: 2.766 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.7066, allocations: 23.91 kB / 0.7485 GB, free: 2.742 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.7067, allocations: 11.98 kB / 0.7485 GB, free: 2.73 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.7067, allocations: 104.5 kB / 0.7486 GB, free: 2.629 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7067, allocations: 0 / 0.7486 GB, free: 2.629 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002522/0.707, allocations: 71.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.0001843/0.7072, allocations: 123.2 kB / 0.7488 GB, free: 2.43 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.7076, allocations: 295.8 kB / 0.7491 GB, free: 2.141 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7076, allocations: 0 / 0.7491 GB, free: 2.141 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.7078, allocations: 167.8 kB / 0.7493 GB, free: 1.977 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.7081, allocations: 36.73 kB / 0.7493 GB, free: 1.941 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.7092, allocations: 0.8074 MB / 0.7501 GB, free: 1.109 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.7095, allocations: 0.7488 MB / 0.7508 GB, free: 344 kB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002241/0.7097, allocations: 97.97 kB / 0.7509 GB, free: 244 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.7098, allocations: 31.38 kB / 0.7509 GB, free: 212 kB / 0.5419 GB Notification: Performance of SimCode: time 4.31e-07/0.7098, allocations: 0 / 0.7509 GB, free: 212 kB / 0.5419 GB Notification: Performance of Templates: time 0.5963/1.306, allocations: 2.67 MB / 0.7535 GB, free: 132.4 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches