Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0008562/0.0008562, allocations: 176.5 kB / 17.4 MB, free: 4.418 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.187/1.187, allocations: 205.4 MB / 223.5 MB, free: 8.934 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.0006749/0.0006752, allocations: 85 kB / 271.9 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7536/0.7536, allocations: 120.4 MB / 440.6 MB, free: 4.082 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004198, allocations: 8 kB / 0.5201 GB, free: 55.9 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 80 MB / 0.5983 GB, free: 7.773 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6034/0.7214, allocations: 125.1 MB / 0.7204 GB, free: 18.84 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.7216, allocations: 71.77 kB / 0.7205 GB, free: 18.81 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.00731/0.729, allocations: 2.715 MB / 0.7231 GB, free: 16.51 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.964e-06/0.729, allocations: 0 / 0.7231 GB, free: 16.51 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.729, allocations: 7.938 kB / 0.7231 GB, free: 16.5 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.0005487/0.7296, allocations: 459.5 kB / 0.7236 GB, free: 16.01 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7296, allocations: 8.031 kB / 0.7236 GB, free: 16 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.7297, allocations: 20.69 kB / 0.7236 GB, free: 15.98 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.73, allocations: 244.6 kB / 0.7238 GB, free: 15.71 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.73, allocations: 8.484 kB / 0.7238 GB, free: 15.71 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.73, allocations: 15.81 kB / 0.7238 GB, free: 15.7 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.7303, allocations: 178.7 kB / 0.724 GB, free: 15.55 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7304, allocations: 3.938 kB / 0.724 GB, free: 15.55 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.7304, allocations: 4 kB / 0.724 GB, free: 15.55 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.7304, allocations: 4 kB / 0.724 GB, free: 15.54 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.7306, allocations: 139.8 kB / 0.7242 GB, free: 15.44 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.7309, allocations: 284.5 kB / 0.7244 GB, free: 15.14 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.7318, allocations: 350.4 kB / 0.7248 GB, free: 14.86 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.7319, allocations: 115.4 kB / 0.7249 GB, free: 14.78 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.7321, allocations: 101 kB / 0.725 GB, free: 14.66 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.7321, allocations: 34.5 kB / 0.725 GB, free: 14.62 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.7321, allocations: 3.938 kB / 0.725 GB, free: 14.62 MB / 0.4953 GB Notification: Performance of matching and sorting (n=28): time 0.0005585/0.7327, allocations: 386.7 kB / 0.7254 GB, free: 14.32 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.7327, allocations: 55.41 kB / 0.7254 GB, free: 14.25 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.7328, allocations: 125.6 kB / 0.7256 GB, free: 14.12 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.7328, allocations: 29.33 kB / 0.7256 GB, free: 14.09 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.7329, allocations: 100.6 kB / 0.7257 GB, free: 14 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 7.366e-05/0.7329, allocations: 105.6 kB / 0.7258 GB, free: 13.91 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.733, allocations: 7.625 kB / 0.7258 GB, free: 13.91 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.733, allocations: 326.4 kB / 0.7261 GB, free: 13.59 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.7332, allocations: 123.5 kB / 0.7262 GB, free: 13.49 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.7334, allocations: 127.9 kB / 0.7263 GB, free: 13.4 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.7337, allocations: 275.9 kB / 0.7266 GB, free: 13.21 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7337, allocations: 0 / 0.7266 GB, free: 13.21 MB / 0.4953 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004235/0.7341, allocations: 365.4 kB / 0.7269 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7342, allocations: 11.94 kB / 0.727 GB, free: 12.91 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7342, allocations: 0 / 0.727 GB, free: 12.91 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.7342, allocations: 7.984 kB / 0.727 GB, free: 12.91 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.7345, allocations: 75.89 kB / 0.727 GB, free: 12.83 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7346, allocations: 1.719 kB / 0.727 GB, free: 12.83 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.7347, allocations: 23.41 kB / 0.7271 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.7347, allocations: 8 kB / 0.7271 GB, free: 12.81 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 9.352e-05/0.7348, allocations: 137.4 kB / 0.7272 GB, free: 12.68 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.7348, allocations: 27.73 kB / 0.7272 GB, free: 12.65 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.7354, allocations: 394.5 kB / 0.7276 GB, free: 12.36 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7354, allocations: 4 kB / 0.7276 GB, free: 12.35 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7354, allocations: 4 kB / 0.7276 GB, free: 12.35 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7354, allocations: 7.922 kB / 0.7276 GB, free: 12.34 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.7357, allocations: 311.1 kB / 0.7279 GB, free: 12.02 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7357, allocations: 0 / 0.7279 GB, free: 12.02 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.7361, allocations: 87.83 kB / 0.728 GB, free: 11.94 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7361, allocations: 3.938 kB / 0.728 GB, free: 11.94 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.7362, allocations: 11.81 kB / 0.728 GB, free: 11.93 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7362, allocations: 0 / 0.728 GB, free: 11.93 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7362, allocations: 0 / 0.728 GB, free: 11.93 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.7368, allocations: 0.5288 MB / 0.7285 GB, free: 11.5 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.7369, allocations: 136.4 kB / 0.7287 GB, free: 11.36 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.7369, allocations: 15.73 kB / 0.7287 GB, free: 11.34 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7371, allocations: 3.688 kB / 0.7287 GB, free: 11.34 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.7371, allocations: 23.84 kB / 0.7287 GB, free: 11.32 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.7371, allocations: 15.86 kB / 0.7287 GB, free: 11.31 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.7372, allocations: 101.5 kB / 0.7288 GB, free: 11.22 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7372, allocations: 0 / 0.7288 GB, free: 11.22 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002511/0.7374, allocations: 75.38 kB / 0.7289 GB, free: 11.16 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.000148/0.7376, allocations: 122.5 kB / 0.729 GB, free: 11.03 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.738, allocations: 301.2 kB / 0.7293 GB, free: 10.8 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.738, allocations: 0 / 0.7293 GB, free: 10.8 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.7382, allocations: 165.9 kB / 0.7294 GB, free: 10.68 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.7384, allocations: 31.8 kB / 0.7295 GB, free: 10.66 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.7396, allocations: 1.015 MB / 0.7305 GB, free: 9.652 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.7397, allocations: 0.7491 MB / 0.7312 GB, free: 8.879 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.7399, allocations: 93.86 kB / 0.7313 GB, free: 8.789 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.74, allocations: 35.3 kB / 0.7313 GB, free: 8.758 MB / 0.4953 GB Notification: Performance of SimCode: time 2.3e-07/0.74, allocations: 0 / 0.7313 GB, free: 8.758 MB / 0.4953 GB Notification: Performance of Templates: time 0.005003/0.745, allocations: 2.664 MB / 0.7339 GB, free: 6.102 MB / 0.4953 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches