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.001101/0.001101, allocations: 174 kB / 8.347 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.319/1.319, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0008651/0.0008651, allocations: 85.86 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.016/1.016, allocations: 120.4 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.625e-05, allocations: 0 / 0.5295 GB, free: 0.543 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/0.5942, allocations: 82.84 MB / 0.6104 GB, free: 13.06 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.7532, allocations: 125.2 MB / 0.7327 GB, free: 15.76 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.7535, allocations: 67.91 kB / 0.7327 GB, free: 15.69 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008505/0.762, allocations: 2.758 MB / 0.7354 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7621, allocations: 0 / 0.7354 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.7621, allocations: 4 kB / 0.7354 GB, free: 12.92 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.0005869/0.7627, allocations: 454.3 kB / 0.7359 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7627, allocations: 8.031 kB / 0.7359 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.7628, allocations: 15.86 kB / 0.7359 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.7631, allocations: 236.6 kB / 0.7361 GB, free: 12.14 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7631, allocations: 4 kB / 0.7361 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.7631, allocations: 15.91 kB / 0.7361 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002637/0.7634, allocations: 132.4 kB / 0.7362 GB, free: 11.99 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.7637, allocations: 159.1 kB / 0.7364 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.7637, allocations: 0 / 0.7364 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.7637, allocations: 0 / 0.7364 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7637, allocations: 7.953 kB / 0.7364 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.764, allocations: 238.6 kB / 0.7366 GB, free: 11.55 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.7649, allocations: 331.4 kB / 0.737 GB, free: 11.22 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.765, allocations: 121.6 kB / 0.7371 GB, free: 11.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.7652, allocations: 89.09 kB / 0.7372 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.7653, allocations: 38.56 kB / 0.7372 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.7653, allocations: 0 / 0.7372 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.000736/0.766, allocations: 326.4 kB / 0.7375 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.766, allocations: 51.41 kB / 0.7376 GB, free: 10.56 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.7661, allocations: 114.9 kB / 0.7377 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.7662, allocations: 25.7 kB / 0.7377 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.7662, allocations: 96.69 kB / 0.7378 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.7663, allocations: 110.4 kB / 0.7379 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.7663, allocations: 0 / 0.7379 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7665, allocations: 334.8 kB / 0.7382 GB, free: 9.867 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.7666, allocations: 116.6 kB / 0.7383 GB, free: 9.75 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.7668, allocations: 112.9 kB / 0.7384 GB, free: 9.641 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.7673, allocations: 206 kB / 0.7386 GB, free: 9.441 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7673, allocations: 0 / 0.7386 GB, free: 9.441 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007305/0.768, allocations: 385.8 kB / 0.739 GB, free: 9.059 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.768, allocations: 8 kB / 0.739 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7681, allocations: 0 / 0.739 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7681, allocations: 0 / 0.739 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.7684, allocations: 79.89 kB / 0.7391 GB, free: 8.973 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7685, allocations: 4 kB / 0.7391 GB, free: 8.969 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.7686, allocations: 15.75 kB / 0.7391 GB, free: 8.953 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.7686, allocations: 12 kB / 0.7391 GB, free: 8.941 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.091e-05/0.7687, allocations: 112.9 kB / 0.7392 GB, free: 8.824 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.7687, allocations: 19.8 kB / 0.7392 GB, free: 8.805 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/0.7696, allocations: 419.4 kB / 0.7396 GB, free: 8.387 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7696, allocations: 4 kB / 0.7396 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7696, allocations: 0 / 0.7396 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.7696, allocations: 7.984 kB / 0.7396 GB, free: 8.375 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.7699, allocations: 273.8 kB / 0.7399 GB, free: 8.07 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7699, allocations: 0 / 0.7399 GB, free: 8.07 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.7704, allocations: 91.89 kB / 0.74 GB, free: 7.98 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7704, allocations: 0 / 0.74 GB, free: 7.98 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.7704, allocations: 19.92 kB / 0.74 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.7704, allocations: 0 / 0.74 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7704, allocations: 0 / 0.74 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.7713, allocations: 0.5411 MB / 0.7405 GB, free: 7.398 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.7715, allocations: 128.8 kB / 0.7407 GB, free: 7.254 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.7715, allocations: 4 kB / 0.7407 GB, free: 7.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.7716, allocations: 0 / 0.7407 GB, free: 7.25 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.7717, allocations: 19.97 kB / 0.7407 GB, free: 7.23 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.7717, allocations: 19.92 kB / 0.7407 GB, free: 7.211 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.226e-05/0.7718, allocations: 93 kB / 0.7408 GB, free: 7.121 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7718, allocations: 0 / 0.7408 GB, free: 7.121 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002565/0.772, allocations: 67.92 kB / 0.7409 GB, free: 7.055 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.0001537/0.7722, allocations: 115.2 kB / 0.741 GB, free: 6.934 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.7726, allocations: 284.4 kB / 0.7412 GB, free: 6.656 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7726, allocations: 0 / 0.7412 GB, free: 6.656 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.7728, allocations: 156.5 kB / 0.7414 GB, free: 6.504 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.773, allocations: 27.92 kB / 0.7414 GB, free: 6.477 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.7741, allocations: 0.7884 MB / 0.7422 GB, free: 5.664 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.7744, allocations: 0.7525 MB / 0.7429 GB, free: 4.879 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.7747, allocations: 97.95 kB / 0.743 GB, free: 4.785 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.7747, allocations: 27.44 kB / 0.743 GB, free: 4.758 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.7748, allocations: 0 / 0.743 GB, free: 4.758 MB / 0.5419 GB Notification: Performance of Templates: time 0.005473/0.7802, allocations: 2.595 MB / 0.7456 GB, free: 2.199 MB / 0.5419 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