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.001625/0.001625, allocations: 178.8 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.564/1.564, allocations: 221.3 MB / 235.5 MB, free: 2.914 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.001195/0.001195, allocations: 89.92 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.212/1.212, allocations: 120.5 MB / 457.8 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.718e-05, allocations: 4 kB / 0.5367 GB, free: 11.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.697/0.6971, allocations: 82.84 MB / 0.6176 GB, free: 9.27 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.8796, allocations: 125.8 MB / 0.7405 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.8799, allocations: 63.91 kB / 0.7405 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.009894/0.8899, allocations: 2.773 MB / 0.7432 GB, free: 8.453 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8899, allocations: 0 / 0.7432 GB, free: 8.453 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.8899, allocations: 4 kB / 0.7432 GB, free: 8.449 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.0006474/0.8906, allocations: 454.3 kB / 0.7437 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.8906, allocations: 8.031 kB / 0.7437 GB, free: 7.949 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.8907, allocations: 15.86 kB / 0.7437 GB, free: 7.934 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.8911, allocations: 227 kB / 0.7439 GB, free: 7.672 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8911, allocations: 4.234 kB / 0.7439 GB, free: 7.668 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.8911, allocations: 19.91 kB / 0.7439 GB, free: 7.648 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.8915, allocations: 172.6 kB / 0.7441 GB, free: 7.477 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.8915, allocations: 3.984 kB / 0.7441 GB, free: 7.473 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.8915, allocations: 4 kB / 0.7441 GB, free: 7.469 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8915, allocations: 4 kB / 0.7441 GB, free: 7.465 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.8918, allocations: 152.5 kB / 0.7442 GB, free: 7.316 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.8922, allocations: 278 kB / 0.7445 GB, free: 6.996 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.8932, allocations: 346.9 kB / 0.7448 GB, free: 6.648 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.8934, allocations: 116.8 kB / 0.745 GB, free: 6.531 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.8936, allocations: 93.09 kB / 0.745 GB, free: 6.422 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8936, allocations: 38.55 kB / 0.7451 GB, free: 6.375 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.8936, allocations: 0 / 0.7451 GB, free: 6.375 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.0005331/0.8941, allocations: 282 kB / 0.7453 GB, free: 6.094 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.8942, allocations: 55.41 kB / 0.7454 GB, free: 6.027 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.8943, allocations: 123.9 kB / 0.7455 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.8944, allocations: 29.7 kB / 0.7455 GB, free: 5.867 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.8944, allocations: 88.7 kB / 0.7456 GB, free: 5.777 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.8946, allocations: 110.4 kB / 0.7457 GB, free: 5.668 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.8946, allocations: 15.94 kB / 0.7458 GB, free: 5.652 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.8948, allocations: 326.8 kB / 0.7461 GB, free: 5.324 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.895, allocations: 124.6 kB / 0.7462 GB, free: 5.199 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.8952, allocations: 133.2 kB / 0.7463 GB, free: 5.07 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.8954, allocations: 145.5 kB / 0.7464 GB, free: 4.93 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8955, allocations: 0 / 0.7464 GB, free: 4.93 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005756/0.896, allocations: 358.1 kB / 0.7468 GB, free: 4.574 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.8961, allocations: 8 kB / 0.7468 GB, free: 4.566 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.8961, allocations: 0 / 0.7468 GB, free: 4.566 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.8961, allocations: 0 / 0.7468 GB, free: 4.566 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.8965, allocations: 75.89 kB / 0.7469 GB, free: 4.492 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.8965, allocations: 4 kB / 0.7469 GB, free: 4.488 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.8966, allocations: 27.75 kB / 0.7469 GB, free: 4.461 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.8967, allocations: 15.94 kB / 0.7469 GB, free: 4.445 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.0001059/0.8968, allocations: 116.9 kB / 0.747 GB, free: 4.324 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.8968, allocations: 15.81 kB / 0.747 GB, free: 4.309 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/0.8975, allocations: 394.8 kB / 0.7474 GB, free: 3.914 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.8976, allocations: 15.97 kB / 0.7474 GB, free: 3.898 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8976, allocations: 0 / 0.7474 GB, free: 3.898 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8976, allocations: 3.938 kB / 0.7474 GB, free: 3.895 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.898, allocations: 317.2 kB / 0.7477 GB, free: 3.535 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.898, allocations: 0 / 0.7477 GB, free: 3.535 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.8984, allocations: 87.89 kB / 0.7478 GB, free: 3.449 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8985, allocations: 4 kB / 0.7478 GB, free: 3.445 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.8985, allocations: 15.98 kB / 0.7478 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8985, allocations: 0 / 0.7478 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.8985, allocations: 0 / 0.7478 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.8993, allocations: 0.5145 MB / 0.7483 GB, free: 2.895 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.8995, allocations: 124.8 kB / 0.7485 GB, free: 2.754 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.8995, allocations: 11.98 kB / 0.7485 GB, free: 2.742 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.8996, allocations: 7.938 kB / 0.7485 GB, free: 2.734 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.8997, allocations: 31.91 kB / 0.7485 GB, free: 2.703 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.8997, allocations: 8 kB / 0.7485 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.8998, allocations: 104.7 kB / 0.7486 GB, free: 2.594 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8998, allocations: 0 / 0.7486 GB, free: 2.594 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002761/0.9001, allocations: 71.94 kB / 0.7487 GB, free: 2.523 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.0001876/0.9003, allocations: 119.2 kB / 0.7488 GB, free: 2.398 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.9008, allocations: 299.8 kB / 0.7491 GB, free: 2.105 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9008, allocations: 0 / 0.7491 GB, free: 2.105 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.901, allocations: 167.8 kB / 0.7493 GB, free: 1.941 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.9013, allocations: 36.69 kB / 0.7493 GB, free: 1.906 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.9025, allocations: 0.8075 MB / 0.7501 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.9029, allocations: 0.7527 MB / 0.7508 GB, free: 304 kB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002459/0.9031, allocations: 97.97 kB / 0.7509 GB, free: 204 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.9032, allocations: 31.42 kB / 0.7509 GB, free: 172 kB / 0.5419 GB Notification: Performance of SimCode: time 8.11e-07/0.9032, allocations: 0 / 0.7509 GB, free: 172 kB / 0.5419 GB Notification: Performance of Templates: time 0.7/1.603, allocations: 2.664 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/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