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.001521/0.001521, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.275/1.275, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009252/0.000925, allocations: 88.61 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8339/0.8339, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004505, allocations: 8 kB / 0.5446 GB, free: 41.19 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 82.85 MB / 0.6255 GB, free: 7.914 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7172/0.8907, allocations: 125.9 MB / 0.7485 GB, free: 8.164 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.891, allocations: 62.41 kB / 0.7485 GB, free: 8.133 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.008769/0.8998, allocations: 2.758 MB / 0.7512 GB, free: 5.684 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8998, allocations: 3.938 kB / 0.7512 GB, free: 5.68 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.8998, allocations: 8 kB / 0.7512 GB, free: 5.672 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.0006694/0.9005, allocations: 470.4 kB / 0.7517 GB, free: 5.172 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.9005, allocations: 8.031 kB / 0.7517 GB, free: 5.164 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.9006, allocations: 19.77 kB / 0.7517 GB, free: 5.145 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.9009, allocations: 226.8 kB / 0.7519 GB, free: 4.887 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.901, allocations: 11.92 kB / 0.7519 GB, free: 4.879 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.901, allocations: 15.25 kB / 0.752 GB, free: 4.871 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.9013, allocations: 182 kB / 0.7521 GB, free: 4.723 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.9013, allocations: 4 kB / 0.7521 GB, free: 4.719 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.9014, allocations: 0 / 0.7521 GB, free: 4.719 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.9014, allocations: 7.953 kB / 0.7521 GB, free: 4.711 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.9016, allocations: 143.3 kB / 0.7523 GB, free: 4.602 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.902, allocations: 284.3 kB / 0.7526 GB, free: 4.309 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.9029, allocations: 363.6 kB / 0.7529 GB, free: 4.016 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.9031, allocations: 89.09 kB / 0.753 GB, free: 3.91 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.9031, allocations: 38.44 kB / 0.753 GB, free: 3.867 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.9031, allocations: 3.938 kB / 0.753 GB, free: 3.863 MB / 0.5107 GB Notification: Performance of matching and sorting (n=28): time 0.000609/0.9037, allocations: 366.3 kB / 0.7534 GB, free: 3.578 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.9038, allocations: 59.39 kB / 0.7534 GB, free: 3.508 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.9039, allocations: 129.3 kB / 0.7536 GB, free: 3.383 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.9039, allocations: 29.58 kB / 0.7536 GB, free: 3.352 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.904, allocations: 99.8 kB / 0.7537 GB, free: 3.258 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.9041, allocations: 102.1 kB / 0.7538 GB, free: 3.172 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.9041, allocations: 7.938 kB / 0.7538 GB, free: 3.168 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9042, allocations: 330.7 kB / 0.7541 GB, free: 2.844 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.9044, allocations: 119.3 kB / 0.7542 GB, free: 2.754 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.9046, allocations: 124 kB / 0.7543 GB, free: 2.66 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.9048, allocations: 150.5 kB / 0.7545 GB, free: 2.559 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9049, allocations: 0 / 0.7545 GB, free: 2.559 MB / 0.5107 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005015/0.9054, allocations: 358.3 kB / 0.7548 GB, free: 2.281 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9054, allocations: 4 kB / 0.7548 GB, free: 2.277 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9054, allocations: 0 / 0.7548 GB, free: 2.277 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9054, allocations: 4 kB / 0.7548 GB, free: 2.273 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.9058, allocations: 79.45 kB / 0.7549 GB, free: 2.199 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.9058, allocations: 1.719 kB / 0.7549 GB, free: 2.199 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.9059, allocations: 19.41 kB / 0.7549 GB, free: 2.184 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.906, allocations: 15.45 kB / 0.7549 GB, free: 2.172 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.0001262/0.9061, allocations: 137 kB / 0.7551 GB, free: 2.035 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.9061, allocations: 19.8 kB / 0.7551 GB, free: 2.016 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.9068, allocations: 395.1 kB / 0.7555 GB, free: 1.719 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9068, allocations: 4 kB / 0.7555 GB, free: 1.715 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9068, allocations: 4 kB / 0.7555 GB, free: 1.711 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.9068, allocations: 3.984 kB / 0.7555 GB, free: 1.707 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.9071, allocations: 327.4 kB / 0.7558 GB, free: 1.379 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9072, allocations: 0 / 0.7558 GB, free: 1.379 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.9076, allocations: 83.89 kB / 0.7559 GB, free: 1.297 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.9077, allocations: 4 kB / 0.7559 GB, free: 1.293 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.9077, allocations: 15.31 kB / 0.7559 GB, free: 1.285 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9077, allocations: 4 kB / 0.7559 GB, free: 1.281 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9077, allocations: 3.984 kB / 0.7559 GB, free: 1.277 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.9084, allocations: 0.5182 MB / 0.7564 GB, free: 0.8555 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.9086, allocations: 124.2 kB / 0.7565 GB, free: 0.7188 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.9086, allocations: 15.3 kB / 0.7565 GB, free: 0.7109 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.9088, allocations: 7.438 kB / 0.7565 GB, free: 0.707 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.9088, allocations: 27.47 kB / 0.7566 GB, free: 0.6836 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.9088, allocations: 11.98 kB / 0.7566 GB, free: 0.6719 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.9089, allocations: 107.2 kB / 0.7567 GB, free: 0.5742 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9089, allocations: 0 / 0.7567 GB, free: 0.5742 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002759/0.9092, allocations: 69.69 kB / 0.7567 GB, free: 0.5156 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.0001672/0.9094, allocations: 121.7 kB / 0.7569 GB, free: 404 kB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.9099, allocations: 300.7 kB / 0.7571 GB, free: 168 kB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9099, allocations: 0 / 0.7571 GB, free: 168 kB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.9101, allocations: 170 kB / 0.7573 GB, free: 36 kB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.9103, allocations: 27.62 kB / 0.7573 GB, free: 16 kB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.9117, allocations: 1.013 MB / 0.7583 GB, free: 15 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.912, allocations: 0.7567 MB / 0.7591 GB, free: 14.23 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.9122, allocations: 89.86 kB / 0.7592 GB, free: 14.14 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.9124, allocations: 31.42 kB / 0.7592 GB, free: 14.11 MB / 0.5263 GB Notification: Performance of SimCode: time 2.4e-07/0.9124, allocations: 0 / 0.7592 GB, free: 14.11 MB / 0.5263 GB Notification: Performance of Templates: time 0.005648/0.918, allocations: 2.654 MB / 0.7618 GB, free: 11.51 MB / 0.5263 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/jenkins1/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