Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.001515/0.001515, allocations: 187.8 kB / 18 MB, free: 5.219 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.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.124/1.124, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 62.64 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1912, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.002358/0.1936, allocations: 401 kB / 0.6501 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0006645/0.1943, allocations: 231.2 kB / 0.6503 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.1944, allocations: 0 / 0.6503 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.1944, allocations: 0 / 0.6503 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1947, allocations: 0 / 0.6503 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1949, allocations: 23.91 kB / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.195, allocations: 19.92 kB / 0.6503 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.1951, allocations: 8 kB / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.1952, allocations: 0 / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.1952, allocations: 11.92 kB / 0.6504 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1953, allocations: 0 / 0.6504 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1954, allocations: 23.92 kB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.1954, allocations: 0 / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.1955, allocations: 11.92 kB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1956, allocations: 19.97 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1957, allocations: 0 / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1957, allocations: 0 / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.1957, allocations: 4 kB / 0.6504 GB, free: 12.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005929/0.1963, allocations: 323.9 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.1963, allocations: 8.031 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1964, allocations: 4.938 kB / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1966, allocations: 164.3 kB / 0.6509 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1966, allocations: 384 / 0.6509 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.1967, allocations: 4.312 kB / 0.6509 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1968, allocations: 42.25 kB / 0.6509 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1968, allocations: 8.188 kB / 0.6509 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1969, allocations: 7.922 kB / 0.6509 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1969, allocations: 0 / 0.6509 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.1969, allocations: 7.938 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.1972, allocations: 153.7 kB / 0.6511 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1975, allocations: 42.55 kB / 0.6511 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.1975, allocations: 16.92 kB / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1976, allocations: 4 kB / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.1976, allocations: 34.64 kB / 0.6512 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1976, allocations: 4 kB / 0.6512 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0002183/0.1978, allocations: 53.53 kB / 0.6513 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1979, allocations: 51.41 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.198, allocations: 97.86 kB / 0.6514 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.198, allocations: 25.7 kB / 0.6514 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.1981, allocations: 84.25 kB / 0.6515 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1981, allocations: 19.83 kB / 0.6515 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1982, allocations: 13.72 kB / 0.6515 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1983, allocations: 314.8 kB / 0.6518 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.1984, allocations: 8 kB / 0.6518 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.1984, allocations: 7.984 kB / 0.6518 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.1985, allocations: 17.14 kB / 0.6519 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1985, allocations: 0 / 0.6519 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/0.1986, allocations: 49.67 kB / 0.6519 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1986, allocations: 12 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1986, allocations: 3.938 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1987, allocations: 0 / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.1987, allocations: 15.92 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1987, allocations: 3.938 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.1988, allocations: 7.906 kB / 0.652 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1988, allocations: 0 / 0.652 GB, free: 10.54 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 (4): * Single equations (assignments): 4 * 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 0.0001022/0.1989, allocations: 106.7 kB / 0.6521 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1989, allocations: 4 kB / 0.6521 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.1991, allocations: 77.11 kB / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1991, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1991, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1991, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.1993, allocations: 161.6 kB / 0.6523 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1993, allocations: 0 / 0.6523 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.1994, allocations: 19.92 kB / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1994, allocations: 3.938 kB / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1994, allocations: 7.938 kB / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1994, allocations: 0 / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1994, allocations: 4.062 kB / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1996, allocations: 101 kB / 0.6524 GB, free: 9.977 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.1997, allocations: 85.09 kB / 0.6525 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1997, allocations: 7.969 kB / 0.6525 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.1997, allocations: 0 / 0.6525 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.1997, allocations: 0 / 0.6525 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1997, allocations: 4 kB / 0.6525 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.1998, allocations: 79.34 kB / 0.6526 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1998, allocations: 0 / 0.6526 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002003/0.2, allocations: 19.98 kB / 0.6526 GB, free: 9.766 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0001668/0.2002, allocations: 103.7 kB / 0.6527 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.2003, allocations: 23.98 kB / 0.6527 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2003, allocations: 0 / 0.6527 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.961e-05/0.2003, allocations: 19.94 kB / 0.6527 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.2005, allocations: 4 kB / 0.6527 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.2009, allocations: 125.7 kB / 0.6529 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2012, allocations: 0.6844 MB / 0.6535 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.2012, allocations: 4.25 kB / 0.6535 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.2013, allocations: 11.44 kB / 0.6535 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of SimCode: time 2.3e-07/0.2013, allocations: 0 / 0.6535 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of Templates: time 0.003057/0.2043, allocations: 0.5806 MB / 0.6541 GB, free: 8.164 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches