Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 116.9 kB / 17.07 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 196 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.052/1.052, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.7 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1892, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001582/0.1908, allocations: 393 kB / 0.6501 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002188/0.1911, allocations: 31.88 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1911, allocations: 0 / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1911, allocations: 0 / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.1912, allocations: 0 / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.1913, allocations: 7.984 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.1914, allocations: 7.938 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1915, allocations: 4 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.03e-05/0.1915, allocations: 4 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.1915, allocations: 3.984 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.1916, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.1916, allocations: 8 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1916, allocations: 3.984 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.1917, allocations: 7.938 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.936e-05/0.1917, allocations: 11.92 kB / 0.6502 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1918, allocations: 0 / 0.6502 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1918, allocations: 0 / 0.6502 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.1918, allocations: 0 / 0.6502 GB, free: 12.61 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003021/0.1921, allocations: 319.5 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1921, allocations: 12.03 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.1922, allocations: 4.891 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.1923, allocations: 164.4 kB / 0.6506 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.1923, allocations: 384 / 0.6506 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.1923, allocations: 4.312 kB / 0.6506 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.632e-05/0.1924, allocations: 30.27 kB / 0.6507 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1924, allocations: 192 / 0.6507 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1924, allocations: 7.938 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1924, allocations: 8 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.1925, allocations: 7.922 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1926, allocations: 149.7 kB / 0.6508 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.1927, allocations: 18.61 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.1927, allocations: 16.91 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.1929, allocations: 81.11 kB / 0.6509 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.193, allocations: 34.56 kB / 0.651 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.193, allocations: 0 / 0.651 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.1931, allocations: 53.56 kB / 0.651 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1932, allocations: 51.41 kB / 0.6511 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.544e-05/0.1932, allocations: 89.86 kB / 0.6512 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1932, allocations: 25.7 kB / 0.6512 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.1933, allocations: 80.14 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1933, allocations: 3.953 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.1933, allocations: 17.84 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1935, allocations: 318.8 kB / 0.6516 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1935, allocations: 4 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.1935, allocations: 0 / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.1935, allocations: 12.86 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1935, allocations: 0 / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.652e-05/0.1936, allocations: 37.64 kB / 0.6516 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1936, allocations: 11.98 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1936, allocations: 8.031 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1936, allocations: 3.938 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.1937, allocations: 4 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1937, allocations: 0 / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.1937, allocations: 0 / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.1937, allocations: 0 / 0.6517 GB, free: 10.82 MB / 0.4983 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.1938, allocations: 110.7 kB / 0.6518 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.1938, allocations: 4 kB / 0.6518 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1939, allocations: 56.67 kB / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1939, allocations: 4 kB / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.194, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.194, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.62e-05/0.1941, allocations: 149.6 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1941, allocations: 0 / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.1941, allocations: 4 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1941, allocations: 3.984 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1941, allocations: 7.875 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1941, allocations: 4 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1941, allocations: 4.031 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.364e-05/0.1942, allocations: 61.12 kB / 0.6521 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.1943, allocations: 77.11 kB / 0.6521 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1943, allocations: 3.938 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.1943, allocations: 4 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1943, allocations: 4 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1943, allocations: 0 / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.044e-05/0.1944, allocations: 83.25 kB / 0.6522 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1944, allocations: 0 / 0.6522 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001807/0.1946, allocations: 8 kB / 0.6522 GB, free: 10.14 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.1947, allocations: 99.7 kB / 0.6523 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.651e-05/0.1948, allocations: 8 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1948, allocations: 0 / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.809e-06/0.1948, allocations: 4 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1949, allocations: 128 / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.1951, allocations: 92.95 kB / 0.6524 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1954, allocations: 0.6805 MB / 0.6531 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.824e-05/0.1954, allocations: 3.938 kB / 0.6531 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.1954, allocations: 11.44 kB / 0.6531 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of SimCode: time 1.9e-07/0.1954, allocations: 0 / 0.6531 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of Templates: time 0.002314/0.1978, allocations: 286.7 kB / 0.6534 GB, free: 8.902 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches