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.001934/0.001934, allocations: 176.5 kB / 8.349 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.425/1.425, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0008987/0.0008988, allocations: 84.45 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.527/1.527, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.515e-05, allocations: 0 / 0.5295 GB, free: 0.543 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7503, allocations: 82.83 MB / 0.6104 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.9267, allocations: 125.2 MB / 0.7327 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.927, allocations: 67.97 kB / 0.7327 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.009524/0.9365, allocations: 2.746 MB / 0.7354 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9366, allocations: 0 / 0.7354 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.9366, 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.0007272/0.9374, allocations: 458.3 kB / 0.7359 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9374, allocations: 8.031 kB / 0.7359 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.9375, allocations: 15.86 kB / 0.7359 GB, free: 12.4 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.9379, allocations: 236.6 kB / 0.7361 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.9379, allocations: 4 kB / 0.7361 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.9379, allocations: 11.91 kB / 0.7361 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002589/0.9382, allocations: 136.3 kB / 0.7363 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.9385, allocations: 163.1 kB / 0.7364 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.9385, allocations: 0 / 0.7364 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.9385, allocations: 0 / 0.7364 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.9386, allocations: 11.89 kB / 0.7364 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.9389, allocations: 238.7 kB / 0.7366 GB, free: 11.54 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/0.9398, allocations: 335.3 kB / 0.737 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.9399, allocations: 101.8 kB / 0.7371 GB, free: 11.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.9401, allocations: 101.1 kB / 0.7372 GB, free: 10.98 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.9402, allocations: 38.56 kB / 0.7372 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.9402, allocations: 0 / 0.7372 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.000797/0.941, allocations: 322.4 kB / 0.7375 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.941, allocations: 55.41 kB / 0.7376 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.9411, allocations: 114.6 kB / 0.7377 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.9412, allocations: 29.7 kB / 0.7377 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.9412, allocations: 92.69 kB / 0.7378 GB, free: 10.3 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.9413, allocations: 106.4 kB / 0.7379 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.9413, allocations: 0 / 0.7379 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9414, allocations: 338.8 kB / 0.7382 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.9416, allocations: 116.6 kB / 0.7383 GB, free: 9.742 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.9418, allocations: 116.9 kB / 0.7384 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.9423, allocations: 202 kB / 0.7386 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9423, allocations: 0 / 0.7386 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007765/0.9431, allocations: 389.8 kB / 0.739 GB, free: 9.047 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9432, allocations: 4 kB / 0.739 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9432, allocations: 0 / 0.739 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9432, allocations: 4 kB / 0.739 GB, free: 9.039 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.9436, allocations: 75.89 kB / 0.7391 GB, free: 8.965 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9436, allocations: 0 / 0.7391 GB, free: 8.965 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.9437, allocations: 19.75 kB / 0.7391 GB, free: 8.945 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.9437, allocations: 12 kB / 0.7391 GB, free: 8.934 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 9.223e-05/0.9438, allocations: 108.9 kB / 0.7392 GB, free: 8.82 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.9439, allocations: 19.8 kB / 0.7392 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009947/0.9449, allocations: 427.4 kB / 0.7396 GB, free: 8.375 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.9449, allocations: 4 kB / 0.7396 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9449, allocations: 3.938 kB / 0.7396 GB, free: 8.367 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.9449, allocations: 7.922 kB / 0.7396 GB, free: 8.359 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.9452, allocations: 265.9 kB / 0.7399 GB, free: 8.062 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9452, allocations: 4 kB / 0.7399 GB, free: 8.059 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.9457, allocations: 83.89 kB / 0.74 GB, free: 7.977 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.9457, allocations: 4 kB / 0.74 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.9458, allocations: 15.92 kB / 0.74 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9458, allocations: 0 / 0.74 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9458, allocations: 4 kB / 0.74 GB, free: 7.953 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.9468, allocations: 0.5372 MB / 0.7405 GB, free: 7.395 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.9469, allocations: 128.8 kB / 0.7407 GB, free: 7.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.947, allocations: 4 kB / 0.7407 GB, free: 7.246 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.9471, allocations: 0 / 0.7407 GB, free: 7.246 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.9472, allocations: 23.97 kB / 0.7407 GB, free: 7.223 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.9472, allocations: 11.98 kB / 0.7407 GB, free: 7.211 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.9473, allocations: 97.16 kB / 0.7408 GB, free: 7.117 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9473, allocations: 0 / 0.7408 GB, free: 7.117 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002782/0.9475, allocations: 63.92 kB / 0.7408 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.0001665/0.9477, allocations: 119.2 kB / 0.741 GB, free: 6.93 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.9481, allocations: 292.3 kB / 0.7412 GB, free: 6.645 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9482, allocations: 4 kB / 0.7412 GB, free: 6.641 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.9484, allocations: 152.5 kB / 0.7414 GB, free: 6.492 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.9486, allocations: 19.98 kB / 0.7414 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.9498, allocations: 0.789 MB / 0.7422 GB, free: 5.66 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.9501, allocations: 0.7564 MB / 0.7429 GB, free: 4.871 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002483/0.9504, allocations: 101.9 kB / 0.743 GB, free: 4.773 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.9505, allocations: 27.44 kB / 0.743 GB, free: 4.746 MB / 0.5419 GB Notification: Performance of SimCode: time 3.4e-07/0.9505, allocations: 0 / 0.743 GB, free: 4.746 MB / 0.5419 GB Notification: Performance of Templates: time 0.00575/0.9562, allocations: 2.593 MB / 0.7456 GB, free: 2.191 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/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