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.001238/0.001238, allocations: 115 kB / 17.07 MB, free: 5.973 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.001118/0.001118, allocations: 194.8 kB / 18 MB, free: 5.059 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.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.126/1.126, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 65.31 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.191, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001606/0.1926, allocations: 381.1 kB / 0.6501 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.1929, allocations: 27.88 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.1929, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.1929, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.193, allocations: 4 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1932, allocations: 15.92 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.1933, allocations: 8 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.01e-05/0.1933, allocations: 7.922 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.1934, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.1934, allocations: 4 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1934, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.1935, allocations: 7.984 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1935, allocations: 0 / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1935, allocations: 4 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.879e-05/0.1936, allocations: 11.98 kB / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1936, allocations: 3.938 kB / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1937, allocations: 7.938 kB / 0.6502 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.1937, allocations: 0 / 0.6502 GB, free: 12.6 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.000393/0.1941, allocations: 315.6 kB / 0.6505 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1941, allocations: 8.031 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1942, allocations: 4.844 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1943, allocations: 164.4 kB / 0.6506 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1943, allocations: 8.312 kB / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.1943, allocations: 384 / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1944, allocations: 34.25 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1944, allocations: 4.188 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1945, allocations: 3.938 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1945, allocations: 3.984 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.1945, allocations: 4 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1947, allocations: 153.7 kB / 0.6508 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.1948, allocations: 22.55 kB / 0.6508 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.1948, allocations: 12.92 kB / 0.6509 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.195, allocations: 89.09 kB / 0.6509 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1951, allocations: 34.56 kB / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.1951, allocations: 0 / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.1952, allocations: 41.64 kB / 0.651 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1953, allocations: 51.41 kB / 0.6511 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.202e-05/0.1953, allocations: 89.86 kB / 0.6512 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1954, allocations: 25.7 kB / 0.6512 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1954, allocations: 88.25 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1955, allocations: 11.84 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1955, allocations: 9.719 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1956, allocations: 318.8 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.1956, allocations: 4 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.1956, allocations: 0 / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.1957, allocations: 16.86 kB / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1957, allocations: 64 / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.499e-05/0.1958, allocations: 41.69 kB / 0.6516 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1958, allocations: 7.281 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1958, allocations: 0 / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1958, allocations: 7.875 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.1959, allocations: 4 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1959, allocations: 3.938 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.1959, allocations: 0 / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.1959, allocations: 0 / 0.6517 GB, free: 10.81 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 6.91e-05/0.196, allocations: 118.8 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.196, allocations: 3.984 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.496e-05/0.1961, allocations: 44.77 kB / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1961, allocations: 3.938 kB / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1961, allocations: 0 / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1961, allocations: 0 / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.1962, allocations: 149.7 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1962, allocations: 0 / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.1963, allocations: 4 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1963, allocations: 4.031 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1963, allocations: 3.938 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1963, allocations: 0 / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1963, allocations: 3.938 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.1964, allocations: 61.12 kB / 0.652 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1964, allocations: 77.11 kB / 0.6521 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1964, allocations: 7.938 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.1964, allocations: 0 / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.1965, allocations: 4.031 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1965, allocations: 3.984 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.862e-05/0.1965, allocations: 75.28 kB / 0.6522 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1965, allocations: 0 / 0.6522 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002003/0.1967, 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.0001225/0.1968, allocations: 99.72 kB / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.1969, allocations: 7.938 kB / 0.6523 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1969, allocations: 4.062 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-06/0.1969, 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.0001253/0.1971, allocations: 7.938 kB / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.1973, allocations: 81.06 kB / 0.6524 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1975, allocations: 0.6805 MB / 0.6531 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.1976, allocations: 7.984 kB / 0.6531 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.1976, allocations: 15.36 kB / 0.6531 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.1976, allocations: 4.062 kB / 0.6531 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of Templates: time 0.002129/0.1997, allocations: 282.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches