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.001089/0.001089, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001165/0.001165, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.154/1.154, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7542/0.7542, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3988, allocations: 80.68 MB / 0.5697 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001265/0.4001, allocations: 407.3 kB / 0.5701 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.4005, allocations: 219.8 kB / 0.5703 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.4005, allocations: 3.938 kB / 0.5703 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.979e-06/0.4005, allocations: 0 / 0.5703 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.4006, allocations: 13.3 kB / 0.5704 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.138e-05/0.4007, allocations: 18.8 kB / 0.5704 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.802e-05/0.4008, allocations: 17.42 kB / 0.5704 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.4008, allocations: 1.344 kB / 0.5704 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.4008, allocations: 2 kB / 0.5704 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.4009, allocations: 7.297 kB / 0.5704 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.4009, allocations: 0 / 0.5704 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.401, allocations: 28.28 kB / 0.5704 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.401, allocations: 9.094 kB / 0.5704 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.401, allocations: 1.156 kB / 0.5704 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.598e-05/0.4011, allocations: 29.55 kB / 0.5705 GB, free: 42.81 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.4011, allocations: 0 / 0.5705 GB, free: 42.81 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4011, allocations: 0 / 0.5705 GB, free: 42.81 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.4011, allocations: 1.094 kB / 0.5705 GB, free: 42.81 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.0002314/0.4013, allocations: 322 kB / 0.5708 GB, free: 42.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.4014, allocations: 9.938 kB / 0.5708 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.4014, allocations: 13.78 kB / 0.5708 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.757e-05/0.4015, allocations: 171.4 kB / 0.571 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.4015, allocations: 1.688 kB / 0.571 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.4015, allocations: 1.312 kB / 0.571 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.967e-05/0.4016, allocations: 34.75 kB / 0.571 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.4016, allocations: 192 / 0.571 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.4016, allocations: 4.906 kB / 0.571 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.4016, allocations: 0 / 0.571 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.4017, allocations: 16.53 kB / 0.571 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.174e-05/0.4018, allocations: 154.1 kB / 0.5712 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4019, allocations: 48.03 kB / 0.5712 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.402, allocations: 8.641 kB / 0.5712 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.402, allocations: 0 / 0.5712 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.768e-06/0.402, allocations: 31.69 kB / 0.5712 GB, free: 41.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.402, allocations: 0 / 0.5712 GB, free: 41.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001126/0.4021, allocations: 59.19 kB / 0.5713 GB, free: 41.85 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.4021, allocations: 60.42 kB / 0.5714 GB, free: 41.78 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.106e-05/0.4022, allocations: 92.2 kB / 0.5714 GB, free: 41.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.4022, allocations: 26.73 kB / 0.5715 GB, free: 41.65 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.069e-05/0.4022, allocations: 80.14 kB / 0.5716 GB, free: 41.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.4022, allocations: 14.28 kB / 0.5716 GB, free: 41.56 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.4023, allocations: 16.83 kB / 0.5716 GB, free: 41.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.4023, allocations: 315.9 kB / 0.5719 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.4023, allocations: 7.469 kB / 0.5719 GB, free: 41.22 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.4023, allocations: 12.16 kB / 0.5719 GB, free: 41.21 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.4024, allocations: 24.84 kB / 0.5719 GB, free: 41.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4024, allocations: 0.875 kB / 0.5719 GB, free: 41.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.166e-05/0.4024, allocations: 51.41 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4025, allocations: 6.031 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4025, allocations: 3.938 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.4025, allocations: 0 / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.664e-05/0.4025, allocations: 5.875 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4025, allocations: 1.062 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.4025, allocations: 11.92 kB / 0.572 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.4026, allocations: 2.281 kB / 0.572 GB, free: 41.13 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 3.411e-05/0.4026, allocations: 110.9 kB / 0.5721 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.4026, allocations: 1.125 kB / 0.5721 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.4027, allocations: 77.17 kB / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4027, allocations: 1.219 kB / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4027, allocations: 0 / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4028, allocations: 5.031 kB / 0.5722 GB, free: 40.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.322e-05/0.4028, allocations: 156 kB / 0.5723 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4028, allocations: 1.156 kB / 0.5723 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.4029, allocations: 7.844 kB / 0.5723 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4029, allocations: 1.25 kB / 0.5723 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.4029, allocations: 8 kB / 0.5724 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4029, allocations: 1.188 kB / 0.5724 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4029, allocations: 3.984 kB / 0.5724 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.403, allocations: 102.8 kB / 0.5725 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.403, allocations: 77.11 kB / 0.5725 GB, free: 40.55 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.4031, allocations: 9.062 kB / 0.5725 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.4031, allocations: 1.125 kB / 0.5725 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.4031, allocations: 5.656 kB / 0.5725 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4031, allocations: 6.25 kB / 0.5726 GB, free: 40.54 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.4031, allocations: 78.44 kB / 0.5726 GB, free: 40.46 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4031, allocations: 0 / 0.5726 GB, free: 40.46 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001714/0.4033, allocations: 6.188 kB / 0.5726 GB, free: 40.46 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 8.511e-05/0.4034, allocations: 112.8 kB / 0.5727 GB, free: 40.36 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.4035, allocations: 34.88 kB / 0.5728 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4035, allocations: 0 / 0.5728 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.4035, allocations: 20 kB / 0.5728 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.4036, allocations: 1.562 kB / 0.5728 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.4038, allocations: 129.6 kB / 0.5729 GB, free: 40.2 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.106e-05/0.4039, allocations: 0.6831 MB / 0.5736 GB, free: 39.5 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.305e-05/0.404, allocations: 7.094 kB / 0.5736 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.404, allocations: 15.16 kB / 0.5736 GB, free: 39.48 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.404, allocations: 0 / 0.5736 GB, free: 39.48 MB / 462.3 MB Notification: Performance of Templates: time 0.002002/0.406, allocations: 0.5656 MB / 0.5742 GB, free: 39.18 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches