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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 180.5 kB / 17.4 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007471/0.000747, allocations: 88.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8635/0.8635, allocations: 120.4 MB / 440.6 MB, free: 4.094 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004283, allocations: 11.94 kB / 0.5201 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1436, allocations: 80 MB / 0.5983 GB, free: 7.781 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6642/0.8078, allocations: 125.1 MB / 0.7204 GB, free: 18.91 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.808, allocations: 63.67 kB / 0.7205 GB, free: 18.89 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.007333/0.8154, allocations: 2.717 MB / 0.7231 GB, free: 16.6 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8154, allocations: 0 / 0.7231 GB, free: 16.6 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.8154, allocations: 8.656 kB / 0.7231 GB, free: 16.59 MB / 0.4953 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.0005139/0.8159, allocations: 463.5 kB / 0.7236 GB, free: 16.1 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.816, allocations: 8.031 kB / 0.7236 GB, free: 16.09 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.816, allocations: 16.75 kB / 0.7236 GB, free: 16.07 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.8163, allocations: 239 kB / 0.7238 GB, free: 15.8 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.8163, allocations: 8.109 kB / 0.7238 GB, free: 15.8 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.8163, allocations: 16.19 kB / 0.7238 GB, free: 15.79 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.8166, allocations: 183.1 kB / 0.724 GB, free: 15.64 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8166, allocations: 7.938 kB / 0.724 GB, free: 15.64 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.8166, allocations: 4 kB / 0.724 GB, free: 15.63 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.8166, allocations: 0 / 0.724 GB, free: 15.63 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.8168, allocations: 147.3 kB / 0.7242 GB, free: 15.52 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.8171, allocations: 280.7 kB / 0.7244 GB, free: 15.23 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.8179, allocations: 351.9 kB / 0.7248 GB, free: 14.95 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.8181, allocations: 119 kB / 0.7249 GB, free: 14.86 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.8182, allocations: 93.03 kB / 0.725 GB, free: 14.75 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.8182, allocations: 33 kB / 0.725 GB, free: 14.71 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.8182, allocations: 0 / 0.725 GB, free: 14.71 MB / 0.4953 GB Notification: Performance of matching and sorting (n=28): time 0.00053/0.8188, allocations: 383.2 kB / 0.7254 GB, free: 14.41 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.8188, allocations: 59.41 kB / 0.7254 GB, free: 14.34 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.8189, allocations: 129.5 kB / 0.7256 GB, free: 14.21 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.8189, allocations: 29.58 kB / 0.7256 GB, free: 14.18 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.8189, allocations: 96.56 kB / 0.7257 GB, free: 14.09 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.819, allocations: 102 kB / 0.7258 GB, free: 14.01 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.819, allocations: 15.75 kB / 0.7258 GB, free: 14 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.8191, allocations: 330.2 kB / 0.7261 GB, free: 13.67 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.8193, allocations: 117.7 kB / 0.7262 GB, free: 13.58 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.8194, allocations: 121.8 kB / 0.7263 GB, free: 13.49 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.8197, allocations: 287.6 kB / 0.7266 GB, free: 13.29 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8198, allocations: 0 / 0.7266 GB, free: 13.29 MB / 0.4953 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004043/0.8202, allocations: 356.4 kB / 0.7269 GB, free: 13.02 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.8202, allocations: 7.938 kB / 0.727 GB, free: 13.01 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8202, allocations: 3.938 kB / 0.727 GB, free: 13 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8202, allocations: 0 / 0.727 GB, free: 13 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.8205, allocations: 79.39 kB / 0.727 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.8206, allocations: 4 kB / 0.727 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.8207, allocations: 19.03 kB / 0.7271 GB, free: 12.91 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.8207, allocations: 15.44 kB / 0.7271 GB, free: 12.9 MB / 0.4953 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 8.339e-05/0.8208, allocations: 137.1 kB / 0.7272 GB, free: 12.76 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.8208, allocations: 19.75 kB / 0.7272 GB, free: 12.74 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/0.8214, allocations: 401.5 kB / 0.7276 GB, free: 12.45 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.8214, allocations: 4 kB / 0.7276 GB, free: 12.44 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8214, allocations: 3.984 kB / 0.7276 GB, free: 12.44 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8214, allocations: 0 / 0.7276 GB, free: 12.44 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.8217, allocations: 312.3 kB / 0.7279 GB, free: 12.12 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8217, allocations: 4 kB / 0.7279 GB, free: 12.12 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.8221, allocations: 87.2 kB / 0.728 GB, free: 12.04 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.8221, allocations: 3.938 kB / 0.728 GB, free: 12.03 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.8221, allocations: 19.61 kB / 0.728 GB, free: 12.02 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8222, allocations: 0 / 0.728 GB, free: 12.02 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8222, allocations: 0 / 0.728 GB, free: 12.02 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.8228, allocations: 0.5275 MB / 0.7285 GB, free: 11.59 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.8229, allocations: 139.6 kB / 0.7287 GB, free: 11.45 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.8229, allocations: 11.62 kB / 0.7287 GB, free: 11.44 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.823, allocations: 3.938 kB / 0.7287 GB, free: 11.44 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.8231, allocations: 23.34 kB / 0.7287 GB, free: 11.42 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.8231, allocations: 15.98 kB / 0.7287 GB, free: 11.4 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.8231, allocations: 101.7 kB / 0.7288 GB, free: 11.31 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8232, allocations: 4 kB / 0.7288 GB, free: 11.31 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002539/0.8234, allocations: 71.31 kB / 0.7289 GB, free: 11.25 MB / 0.4953 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.0001386/0.8236, allocations: 123 kB / 0.729 GB, free: 11.12 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.8239, allocations: 299.6 kB / 0.7293 GB, free: 10.89 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.824, allocations: 3.688 kB / 0.7293 GB, free: 10.89 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.8241, allocations: 164.2 kB / 0.7294 GB, free: 10.77 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.8244, allocations: 30.61 kB / 0.7295 GB, free: 10.75 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.8255, allocations: 1.009 MB / 0.7305 GB, free: 9.75 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.8257, allocations: 0.7491 MB / 0.7312 GB, free: 8.973 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.8259, allocations: 101.8 kB / 0.7313 GB, free: 8.875 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.826, allocations: 31.25 kB / 0.7313 GB, free: 8.848 MB / 0.4953 GB Notification: Performance of SimCode: time 2.3e-07/0.826, allocations: 0 / 0.7313 GB, free: 8.848 MB / 0.4953 GB Notification: Performance of Templates: time 0.004664/0.8306, allocations: 2.675 MB / 0.7339 GB, free: 6.184 MB / 0.4953 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 -abortSlowSimulation -alarm=300 -s=ida -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