Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 176.1 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.001101/0.001101, allocations: 93.84 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9716/0.9716, allocations: 120.4 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.448e-05/1.458e-05, allocations: 0 / 0.5295 GB, free: 0.543 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6167, allocations: 82.84 MB / 0.6104 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.7705, allocations: 125.2 MB / 0.7327 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.7707, allocations: 63.91 kB / 0.7327 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02089/0.7916, allocations: 6.747 MB / 0.7393 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7917, allocations: 0 / 0.7393 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.7917, allocations: 8 kB / 0.7393 GB, free: 8.906 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001507/0.7932, allocations: 0.8226 MB / 0.7401 GB, free: 8.039 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7933, allocations: 12.03 kB / 0.7401 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/0.7934, allocations: 47.39 kB / 0.7402 GB, free: 7.98 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.794, allocations: 451.4 kB / 0.7406 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.7941, allocations: 12 kB / 0.7406 GB, free: 7.488 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.7942, allocations: 47.81 kB / 0.7407 GB, free: 7.441 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008042/0.795, allocations: 0.553 MB / 0.7412 GB, free: 6.887 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.7958, allocations: 0.523 MB / 0.7417 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.7958, allocations: 0 / 0.7417 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.7958, allocations: 4 kB / 0.7417 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.7959, allocations: 11.95 kB / 0.7417 GB, free: 6.344 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.7966, allocations: 0.543 MB / 0.7423 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.7994, allocations: 1.277 MB / 0.7435 GB, free: 4.473 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.8, allocations: 420.6 kB / 0.7439 GB, free: 4.062 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.8002, allocations: 106.4 kB / 0.744 GB, free: 3.941 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.8002, allocations: 47.88 kB / 0.7441 GB, free: 3.883 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=103): time 2.174e-06/0.8002, allocations: 0 / 0.7441 GB, free: 3.883 MB / 0.5419 GB Notification: Performance of matching and sorting (n=103): time 0.00236/0.8026, allocations: 1.106 MB / 0.7451 GB, free: 2.773 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.8026, allocations: 60.72 kB / 0.7452 GB, free: 2.699 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.8028, allocations: 149.8 kB / 0.7453 GB, free: 2.547 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.8028, allocations: 25.7 kB / 0.7454 GB, free: 2.516 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.8029, allocations: 106.1 kB / 0.7455 GB, free: 2.41 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.8032, allocations: 390.2 kB / 0.7458 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.8032, allocations: 0 / 0.7458 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8034, allocations: 378.7 kB / 0.7462 GB, free: 1.645 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/0.8039, allocations: 458.4 kB / 0.7466 GB, free: 1.199 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.8045, allocations: 460.9 kB / 0.7471 GB, free: 0.75 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.8063, allocations: 0.7321 MB / 0.7478 GB, free: 16 kB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8063, allocations: 0 / 0.7478 GB, free: 16 kB / 0.5419 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.6761/1.482, allocations: 1.367 MB / 0.7491 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/1.482, allocations: 4.719 kB / 0.7491 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.482, allocations: 4.656 kB / 0.7491 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/1.483, allocations: 6.297 kB / 0.7491 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/1.484, allocations: 280.9 kB / 0.7494 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.484, allocations: 4.656 kB / 0.7494 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/1.485, allocations: 54.33 kB / 0.7495 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/1.485, allocations: 40.98 kB / 0.7495 GB, free: 134.3 MB / 0.5421 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 (144): * Single equations (assignments): 144 * 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.0001555/1.485, allocations: 120.9 kB / 0.7496 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/1.485, allocations: 48.23 kB / 0.7497 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/1.488, allocations: 1.477 MB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.488, allocations: 16 kB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.488, allocations: 1.672 kB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/1.488, allocations: 14.12 kB / 0.7511 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/1.489, allocations: 0.6422 MB / 0.7518 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.489, allocations: 0 / 0.7518 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/1.491, allocations: 322.1 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/1.491, allocations: 5.125 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/1.491, allocations: 31.47 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.491, allocations: 5.5 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.491, allocations: 0.8438 kB / 0.7521 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/1.495, allocations: 1.911 MB / 0.754 GB, free: 133.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/1.496, allocations: 258.3 kB / 0.7542 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.496, allocations: 16.56 kB / 0.7542 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/1.496, allocations: 4.438 kB / 0.7543 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.496, allocations: 81.34 kB / 0.7543 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-05/1.496, allocations: 44.31 kB / 0.7544 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 9.332e-05/1.496, allocations: 120.3 kB / 0.7545 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.01e-07/1.496, allocations: 0.5625 kB / 0.7545 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005827/1.497, allocations: 201 kB / 0.7547 GB, free: 132.8 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * 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.0002057/1.497, allocations: 138.2 kB / 0.7548 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00144/1.499, allocations: 1.087 MB / 0.7559 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.499, allocations: 0 / 0.7559 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005821/1.499, allocations: 0.5892 MB / 0.7564 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/1.5, allocations: 60.2 kB / 0.7565 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/1.502, allocations: 2.76 MB / 0.7592 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/1.503, allocations: 0.9376 MB / 0.7601 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007844/1.504, allocations: 372.4 kB / 0.7605 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/1.504, allocations: 87.5 kB / 0.7606 GB, free: 130 MB / 0.5421 GB Notification: Performance of SimCode: time 4.4e-07/1.504, allocations: 4 kB / 0.7606 GB, free: 130 MB / 0.5421 GB Notification: Performance of Templates: time 0.01136/1.515, allocations: 8.561 MB / 0.7689 GB, free: 123.2 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches