Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.00093/0.0009304, allocations: 93.05 kB / 17.31 MB, free: 6.488 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.0009772/0.0009772, allocations: 182.2 kB / 18.22 MB, free: 5.641 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.345/1.345, allocations: 223.3 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.941/0.941, allocations: 120.5 MB / 413.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8.234 kB / 0.4956 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/0.5048, allocations: 82.84 MB / 0.5764 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0004205/0.5053, allocations: 140 kB / 0.5766 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003813/0.5056, allocations: 216.7 kB / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.5057, allocations: 0 / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.016e-05/0.5057, allocations: 0 / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.5058, allocations: 1.375 kB / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.45e-05/0.5059, allocations: 24.27 kB / 0.5768 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.01e-05/0.5059, allocations: 8.234 kB / 0.5768 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.506, allocations: 5.234 kB / 0.5768 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.506, allocations: 11.41 kB / 0.5768 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.5061, allocations: 2.875 kB / 0.5768 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.5061, allocations: 3.938 kB / 0.5768 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.5062, allocations: 27.66 kB / 0.5769 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.5062, allocations: 1.5 kB / 0.5769 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.5062, allocations: 30.52 kB / 0.5769 GB, free: 41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.969e-05/0.5063, allocations: 19.41 kB / 0.5769 GB, free: 40.99 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5063, allocations: 0 / 0.5769 GB, free: 40.99 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5063, allocations: 0 / 0.5769 GB, free: 40.99 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.5063, allocations: 0 / 0.5769 GB, free: 40.99 MB / 462.3 MB 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.0002399/0.5066, allocations: 323.4 kB / 0.5772 GB, free: 40.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.5066, allocations: 9.344 kB / 0.5772 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.5066, allocations: 2.406 kB / 0.5772 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.198e-05/0.5067, allocations: 171.7 kB / 0.5774 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.5067, allocations: 384 / 0.5774 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.5067, allocations: 5.75 kB / 0.5774 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.345e-05/0.5068, allocations: 35.69 kB / 0.5774 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-06/0.5068, allocations: 4.125 kB / 0.5774 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.5068, allocations: 3.938 kB / 0.5775 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5068, allocations: 0.9375 kB / 0.5775 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.5069, allocations: 13.45 kB / 0.5775 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.797e-05/0.507, allocations: 148.4 kB / 0.5776 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.5072, allocations: 52.56 kB / 0.5777 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.5072, allocations: 7.391 kB / 0.5777 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.5072, allocations: 1.031 kB / 0.5777 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.14e-05/0.5072, allocations: 35.66 kB / 0.5777 GB, free: 40.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5072, allocations: 0 / 0.5777 GB, free: 40.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.00012/0.5073, allocations: 59.33 kB / 0.5778 GB, free: 40.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.5074, allocations: 56.69 kB / 0.5778 GB, free: 39.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.847e-05/0.5074, allocations: 95.92 kB / 0.5779 GB, free: 39.87 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.5074, allocations: 26.98 kB / 0.5779 GB, free: 39.84 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.207e-05/0.5074, allocations: 80.14 kB / 0.578 GB, free: 39.76 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.5075, allocations: 9.375 kB / 0.578 GB, free: 39.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.5075, allocations: 15.11 kB / 0.578 GB, free: 39.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.813e-05/0.5075, allocations: 312.2 kB / 0.5783 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.5076, allocations: 3.531 kB / 0.5783 GB, free: 39.42 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.5076, allocations: 11.78 kB / 0.5783 GB, free: 39.41 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.5076, allocations: 25.2 kB / 0.5784 GB, free: 39.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5076, allocations: 1.125 kB / 0.5784 GB, free: 39.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.658e-05/0.5077, allocations: 55.66 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5077, allocations: 4.75 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5077, allocations: 3.938 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5077, allocations: 1 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.885e-05/0.5078, allocations: 5.438 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.5078, allocations: 5.406 kB / 0.5784 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.5078, allocations: 11.92 kB / 0.5784 GB, free: 39.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.5078, allocations: 5.469 kB / 0.5785 GB, free: 39.32 MB / 462.3 MB 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 4.012e-05/0.5079, allocations: 107.2 kB / 0.5786 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.5079, allocations: 1.438 kB / 0.5786 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.508, allocations: 77.36 kB / 0.5786 GB, free: 39.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.508, allocations: 0.9688 kB / 0.5786 GB, free: 39.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.508, allocations: 0 / 0.5786 GB, free: 39.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.508, allocations: 1.062 kB / 0.5786 GB, free: 39.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.483e-05/0.5081, allocations: 168.7 kB / 0.5788 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5081, allocations: 0 / 0.5788 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.5082, allocations: 8.469 kB / 0.5788 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5082, allocations: 0 / 0.5788 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.5082, allocations: 9.625 kB / 0.5788 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5082, allocations: 3.984 kB / 0.5788 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5082, allocations: 1.875 kB / 0.5788 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.5083, allocations: 96.38 kB / 0.5789 GB, free: 38.83 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.5084, allocations: 82.23 kB / 0.579 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5084, allocations: 9.125 kB / 0.579 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.5084, allocations: 1.031 kB / 0.579 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.5084, allocations: 6.297 kB / 0.579 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.5084, allocations: 1.094 kB / 0.579 GB, free: 38.72 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.5085, allocations: 77.47 kB / 0.5791 GB, free: 38.65 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5085, allocations: 0 / 0.5791 GB, free: 38.65 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001818/0.5086, allocations: 15.56 kB / 0.5791 GB, free: 38.64 MB / 462.3 MB 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 9.589e-05/0.5087, allocations: 107.1 kB / 0.5792 GB, free: 38.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.5088, allocations: 22.75 kB / 0.5792 GB, free: 38.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5088, allocations: 1.062 kB / 0.5792 GB, free: 38.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.5089, allocations: 22.8 kB / 0.5792 GB, free: 38.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.509, allocations: 1.094 kB / 0.5792 GB, free: 38.52 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.5092, allocations: 163.4 kB / 0.5794 GB, free: 38.35 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.5093, allocations: 0.6824 MB / 0.5801 GB, free: 37.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.5094, allocations: 14.69 kB / 0.5801 GB, free: 37.63 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.5094, allocations: 0 / 0.5801 GB, free: 37.63 MB / 462.3 MB Notification: Performance of Templates: time 0.002011/0.5114, allocations: 0.6775 MB / 0.5807 GB, free: 37.29 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches