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.001384/0.001384, allocations: 112.4 kB / 17.06 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.00138/0.001381, allocations: 198.9 kB / 18.01 MB, free: 5.047 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.385/1.385, 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.123/1.123, allocations: 119.3 MB / 411.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 61.56 kB / 0.5709 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1869, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.002065/0.189, allocations: 420.5 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0005928/0.1896, allocations: 219.2 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.1897, allocations: 4 kB / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.1898, allocations: 4 kB / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.19, allocations: 3.938 kB / 0.6503 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.1901, allocations: 27.91 kB / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.1902, allocations: 7.984 kB / 0.6503 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.1903, allocations: 0 / 0.6503 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.1903, allocations: 4 kB / 0.6503 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.1904, allocations: 11.94 kB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1904, allocations: 0 / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1905, allocations: 23.97 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1906, allocations: 7.938 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.1906, allocations: 7.922 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.1907, allocations: 27.91 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1908, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1908, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.1908, allocations: 0 / 0.6504 GB, free: 12.32 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.000468/0.1913, allocations: 327.8 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1913, allocations: 8.031 kB / 0.6507 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1913, allocations: 0.9375 kB / 0.6507 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1915, allocations: 164.4 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1915, allocations: 4.375 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1916, allocations: 384 / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1917, allocations: 38.25 kB / 0.6509 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1917, allocations: 192 / 0.6509 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.1917, allocations: 3.938 kB / 0.6509 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1917, allocations: 4 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.1918, allocations: 15.86 kB / 0.651 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.192, allocations: 157.7 kB / 0.6511 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.1923, allocations: 42.56 kB / 0.6512 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.1923, allocations: 16.92 kB / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1924, allocations: 3.984 kB / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1924, allocations: 30.56 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1924, allocations: 0 / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001913/0.1926, allocations: 65.78 kB / 0.6513 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1927, allocations: 51.41 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.1927, allocations: 101.8 kB / 0.6514 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1928, allocations: 25.7 kB / 0.6514 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.1928, allocations: 84.14 kB / 0.6515 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.1929, allocations: 3.953 kB / 0.6515 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.1929, allocations: 21.7 kB / 0.6515 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1931, allocations: 310.8 kB / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.1931, allocations: 4 kB / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.1931, allocations: 20.09 kB / 0.6519 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.1932, allocations: 16.86 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1932, allocations: 4 kB / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.343e-05/0.1933, allocations: 49.62 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1933, allocations: 7.281 kB / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1933, allocations: 7.938 kB / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1933, allocations: 0 / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.1934, allocations: 7.984 kB / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1934, allocations: 0 / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.1934, allocations: 3.953 kB / 0.652 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1935, allocations: 12 kB / 0.652 GB, free: 10.51 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 8.486e-05/0.1935, allocations: 106.7 kB / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1936, allocations: 0 / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.1937, allocations: 81.05 kB / 0.6521 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1937, allocations: 0 / 0.6521 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1938, allocations: 4.062 kB / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1938, allocations: 0 / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1939, allocations: 157.7 kB / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1939, allocations: 4 kB / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.194, allocations: 8 kB / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.194, allocations: 3.938 kB / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.194, allocations: 11.92 kB / 0.6523 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.194, allocations: 0 / 0.6523 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.194, allocations: 4 kB / 0.6523 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1942, allocations: 97.02 kB / 0.6524 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.1943, allocations: 81.05 kB / 0.6525 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1943, allocations: 15.98 kB / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.1943, allocations: 0 / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.1944, allocations: 4.031 kB / 0.6525 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1944, allocations: 0 / 0.6525 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.885e-05/0.1944, allocations: 79.28 kB / 0.6526 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1944, allocations: 0 / 0.6526 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002129/0.1947, allocations: 8 kB / 0.6526 GB, free: 9.754 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.0001699/0.1948, allocations: 107.7 kB / 0.6527 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.195, allocations: 32.02 kB / 0.6527 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.195, allocations: 3.938 kB / 0.6527 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.195, allocations: 12 kB / 0.6528 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.1952, allocations: 4 kB / 0.6528 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.1955, allocations: 125.5 kB / 0.6529 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1959, allocations: 0.6844 MB / 0.6535 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1959, allocations: 7.984 kB / 0.6536 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.1959, allocations: 11.44 kB / 0.6536 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of SimCode: time 4.21e-07/0.1959, allocations: 0 / 0.6536 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of Templates: time 0.003374/0.1993, allocations: 0.5771 MB / 0.6541 GB, free: 8.145 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches