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.001069/0.001069, allocations: 181.2 kB / 16.39 MB, free: 5.766 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.232/1.232, 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.0009179/0.0009179, allocations: 99.98 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7054/0.7054, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 8 kB / 0.5446 GB, free: 41.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 82.85 MB / 0.6256 GB, free: 7.898 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.643/0.7795, allocations: 125.9 MB / 0.7485 GB, free: 8.281 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.7798, allocations: 64.84 kB / 0.7486 GB, free: 8.25 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.7931, allocations: 4.064 MB / 0.7525 GB, free: 4.613 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7931, allocations: 0 / 0.7525 GB, free: 4.613 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.7931, allocations: 4 kB / 0.7525 GB, free: 4.609 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001148/0.7943, allocations: 0.5767 MB / 0.7531 GB, free: 3.996 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7944, allocations: 8.031 kB / 0.7531 GB, free: 3.988 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.718e-05/0.7944, allocations: 35.66 kB / 0.7531 GB, free: 3.953 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.7949, allocations: 286.4 kB / 0.7534 GB, free: 3.641 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.795, allocations: 24.03 kB / 0.7534 GB, free: 3.625 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.795, allocations: 31.22 kB / 0.7535 GB, free: 3.605 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.7956, allocations: 315.2 kB / 0.7538 GB, free: 3.355 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7956, allocations: 0 / 0.7538 GB, free: 3.355 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.7956, allocations: 7.188 kB / 0.7538 GB, free: 3.352 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.7957, allocations: 11.95 kB / 0.7538 GB, free: 3.34 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.7961, allocations: 299.5 kB / 0.7541 GB, free: 3.109 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.7967, allocations: 388.1 kB / 0.7544 GB, free: 2.734 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.7984, allocations: 0.68 MB / 0.7551 GB, free: 2.195 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.7986, allocations: 89.53 kB / 0.7552 GB, free: 2.09 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.7986, allocations: 43.58 kB / 0.7552 GB, free: 2.043 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=53): time 2.916e-06/0.7986, allocations: 0 / 0.7552 GB, free: 2.043 MB / 0.5107 GB Notification: Performance of matching and sorting (n=53): time 0.001093/0.7997, allocations: 0.7041 MB / 0.7559 GB, free: 1.484 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.7998, allocations: 55.84 kB / 0.756 GB, free: 1.414 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.7999, allocations: 134.9 kB / 0.7561 GB, free: 1.281 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.7999, allocations: 37.31 kB / 0.7561 GB, free: 1.246 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.8, allocations: 92.89 kB / 0.7562 GB, free: 1.16 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.8002, allocations: 203.1 kB / 0.7564 GB, free: 0.9883 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.8002, allocations: 15.69 kB / 0.7564 GB, free: 0.9844 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.8004, allocations: 338.4 kB / 0.7567 GB, free: 0.6562 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.8008, allocations: 241.3 kB / 0.757 GB, free: 484 kB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.8011, allocations: 243 kB / 0.7572 GB, free: 304 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.8015, allocations: 279.4 kB / 0.7575 GB, free: 108 kB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8015, allocations: 0 / 0.7575 GB, free: 108 kB / 0.5107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009084/0.8025, allocations: 0.643 MB / 0.7581 GB, free: 15.61 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8025, allocations: 4 kB / 0.7581 GB, free: 15.6 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.8025, allocations: 7.984 kB / 0.7581 GB, free: 15.59 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8025, allocations: 0 / 0.7581 GB, free: 15.59 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.8032, allocations: 147.7 kB / 0.7583 GB, free: 15.45 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8032, allocations: 3.953 kB / 0.7583 GB, free: 15.45 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.8035, allocations: 43.34 kB / 0.7583 GB, free: 15.41 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.8035, allocations: 27.67 kB / 0.7583 GB, free: 15.39 MB / 0.5263 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 (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.0001564/0.8037, allocations: 159.8 kB / 0.7585 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.8038, allocations: 23.72 kB / 0.7585 GB, free: 15.22 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.8049, allocations: 0.7263 MB / 0.7592 GB, free: 14.69 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.8049, allocations: 8 kB / 0.7592 GB, free: 14.68 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8049, allocations: 4 kB / 0.7592 GB, free: 14.68 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.805, allocations: 7.938 kB / 0.7592 GB, free: 14.67 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.8055, allocations: 458.5 kB / 0.7597 GB, free: 14.24 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.8055, allocations: 3.938 kB / 0.7597 GB, free: 14.23 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000882/0.8064, allocations: 167.6 kB / 0.7598 GB, free: 14.08 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.8064, allocations: 4 kB / 0.7598 GB, free: 14.07 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/0.8065, allocations: 23.67 kB / 0.7599 GB, free: 14.06 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.8065, allocations: 0 / 0.7599 GB, free: 14.06 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8065, allocations: 4 kB / 0.7599 GB, free: 14.05 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.8078, allocations: 0.9646 MB / 0.7608 GB, free: 13.32 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.8081, allocations: 176.3 kB / 0.761 GB, free: 13.13 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.8081, allocations: 23.73 kB / 0.761 GB, free: 13.12 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.8084, allocations: 14.56 kB / 0.761 GB, free: 13.11 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.8085, allocations: 43.84 kB / 0.7611 GB, free: 13.07 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.8085, allocations: 23.8 kB / 0.7611 GB, free: 13.05 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.8086, allocations: 113.8 kB / 0.7612 GB, free: 12.95 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8086, allocations: 0 / 0.7612 GB, free: 12.95 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003818/0.809, allocations: 127.3 kB / 0.7613 GB, free: 12.85 MB / 0.5263 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 () * Number of clocked 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.0002084/0.8092, allocations: 140.8 kB / 0.7614 GB, free: 12.71 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0008521/0.81, allocations: 0.5813 MB / 0.762 GB, free: 12.26 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8101, allocations: 0 / 0.762 GB, free: 12.26 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.8105, allocations: 325.2 kB / 0.7623 GB, free: 12.01 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.8108, allocations: 47.47 kB / 0.7624 GB, free: 11.98 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.8131, allocations: 1.78 MB / 0.7641 GB, free: 10.24 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.8135, allocations: 0.8166 MB / 0.7649 GB, free: 9.402 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0004377/0.8139, allocations: 187.1 kB / 0.7651 GB, free: 9.223 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.8141, allocations: 51.28 kB / 0.7651 GB, free: 9.176 MB / 0.5263 GB Notification: Performance of SimCode: time 3.21e-07/0.8141, allocations: 4 kB / 0.7651 GB, free: 9.172 MB / 0.5263 GB Notification: Performance of Templates: time 0.008718/0.8229, allocations: 4.65 MB / 0.7697 GB, free: 4.574 MB / 0.5263 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