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.0008047/0.0008046, allocations: 88.45 kB / 17.3 MB, free: 5.59 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.000779/0.000779, allocations: 174.9 kB / 18.21 MB, free: 5.191 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.273/1.273, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9138/0.9138, allocations: 120.5 MB / 413.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 8 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4975, allocations: 82.84 MB / 0.5764 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0004373/0.498, allocations: 131.8 kB / 0.5766 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.4984, allocations: 220.3 kB / 0.5768 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.4984, allocations: 0 / 0.5768 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-06/0.4985, allocations: 1.125 kB / 0.5768 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.4986, allocations: 5.188 kB / 0.5768 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.214e-05/0.4987, allocations: 20.81 kB / 0.5768 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.99e-05/0.4987, allocations: 13.42 kB / 0.5768 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.4988, allocations: 1.438 kB / 0.5768 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.4988, allocations: 6.594 kB / 0.5768 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.4988, allocations: 6.672 kB / 0.5768 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.4989, allocations: 0 / 0.5768 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.4989, allocations: 32.38 kB / 0.5769 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.499, allocations: 4 kB / 0.5769 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.499, allocations: 31.77 kB / 0.5769 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.297e-05/0.4991, allocations: 10.45 kB / 0.5769 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4991, allocations: 0 / 0.5769 GB, free: 41.66 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4991, allocations: 0.875 kB / 0.5769 GB, free: 41.66 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.4991, allocations: 3.938 kB / 0.5769 GB, free: 41.65 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.0002334/0.4993, allocations: 321 kB / 0.5772 GB, free: 41.29 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.4994, allocations: 9.25 kB / 0.5772 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.4994, allocations: 2.125 kB / 0.5772 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.4995, allocations: 175.4 kB / 0.5774 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.4995, allocations: 384 / 0.5774 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4995, allocations: 2.688 kB / 0.5774 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.4996, allocations: 37.91 kB / 0.5774 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4996, allocations: 5.219 kB / 0.5774 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4996, allocations: 3.938 kB / 0.5774 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4996, allocations: 1.25 kB / 0.5774 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.959e-05/0.4997, allocations: 3.812 kB / 0.5774 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.4998, allocations: 161.3 kB / 0.5776 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.5, allocations: 43.83 kB / 0.5776 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.5, allocations: 9.859 kB / 0.5776 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.5, allocations: 7.984 kB / 0.5777 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.027e-05/0.5001, allocations: 30.56 kB / 0.5777 GB, free: 40.75 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.5001, allocations: 1.781 kB / 0.5777 GB, free: 40.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001214/0.5002, allocations: 53.84 kB / 0.5777 GB, free: 40.7 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.5002, allocations: 57.5 kB / 0.5778 GB, free: 40.63 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.693e-05/0.5003, allocations: 91.89 kB / 0.5779 GB, free: 40.54 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.5003, allocations: 25.7 kB / 0.5779 GB, free: 40.5 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.278e-05/0.5003, allocations: 86.05 kB / 0.578 GB, free: 40.42 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.5003, allocations: 7.891 kB / 0.578 GB, free: 40.41 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.5003, allocations: 11.53 kB / 0.578 GB, free: 40.39 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.772e-05/0.5004, allocations: 316.7 kB / 0.5783 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.5004, allocations: 6.125 kB / 0.5783 GB, free: 40.07 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.5004, allocations: 9.797 kB / 0.5783 GB, free: 40.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.5005, allocations: 24.97 kB / 0.5783 GB, free: 40.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5005, allocations: 0 / 0.5783 GB, free: 40.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.766e-05/0.5005, allocations: 55.94 kB / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5006, allocations: 5.25 kB / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5006, allocations: 3.938 kB / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.5006, allocations: 0 / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.053e-05/0.5006, allocations: 10.11 kB / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5006, allocations: 1.594 kB / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.5007, allocations: 11.88 kB / 0.5784 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.5007, allocations: 5.484 kB / 0.5784 GB, free: 39.98 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.648e-05/0.5007, allocations: 111.4 kB / 0.5785 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.5007, allocations: 1.531 kB / 0.5785 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.5009, allocations: 80.45 kB / 0.5786 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5009, allocations: 1.625 kB / 0.5786 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5009, allocations: 0 / 0.5786 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5009, allocations: 4 kB / 0.5786 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.642e-05/0.501, allocations: 160.9 kB / 0.5788 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.501, allocations: 0 / 0.5788 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.501, allocations: 12.61 kB / 0.5788 GB, free: 39.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.501, allocations: 1.156 kB / 0.5788 GB, free: 39.58 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.5011, allocations: 5.188 kB / 0.5788 GB, free: 39.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5011, allocations: 0 / 0.5788 GB, free: 39.58 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5011, allocations: 0 / 0.5788 GB, free: 39.58 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.5012, allocations: 101.8 kB / 0.5789 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.5012, allocations: 86.47 kB / 0.579 GB, free: 39.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.5012, allocations: 5.375 kB / 0.579 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.5013, allocations: 0 / 0.579 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.5013, allocations: 3.125 kB / 0.579 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.5013, allocations: 5.594 kB / 0.579 GB, free: 39.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.567e-05/0.5013, allocations: 76.78 kB / 0.5791 GB, free: 39.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5013, allocations: 0 / 0.5791 GB, free: 39.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001885/0.5015, allocations: 11.59 kB / 0.5791 GB, free: 39.3 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.927e-05/0.5016, allocations: 106.8 kB / 0.5792 GB, free: 39.2 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.5017, allocations: 28.45 kB / 0.5792 GB, free: 39.19 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5017, allocations: 0 / 0.5792 GB, free: 39.19 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.5017, allocations: 14.78 kB / 0.5792 GB, free: 39.18 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.5019, allocations: 9.719 kB / 0.5792 GB, free: 39.18 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.5021, allocations: 157.7 kB / 0.5794 GB, free: 39.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.5022, allocations: 0.6872 MB / 0.58 GB, free: 38.3 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.5022, allocations: 18.33 kB / 0.5801 GB, free: 38.29 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.5022, allocations: 0 / 0.5801 GB, free: 38.29 MB / 462.3 MB Notification: Performance of Templates: time 0.001937/0.5042, allocations: 0.6741 MB / 0.5807 GB, free: 37.95 MB / 462.3 MB 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches