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.001241/0.001241, allocations: 107 kB / 16.92 MB, free: 5.691 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.001229/0.001229, allocations: 190.1 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.232/1.232, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8114/0.8114, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.91 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4005, allocations: 80.69 MB / 0.5697 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001293/0.4019, allocations: 410.4 kB / 0.5701 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.4022, allocations: 218.4 kB / 0.5703 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.4022, allocations: 0 / 0.5703 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.4023, allocations: 9.25 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.4024, allocations: 1.469 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.191e-05/0.4025, allocations: 21.67 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.658e-05/0.4025, allocations: 13.91 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.4026, allocations: 9.281 kB / 0.5704 GB, free: 42.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.4026, allocations: 7.156 kB / 0.5704 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.4026, allocations: 2.656 kB / 0.5704 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.4026, allocations: 0 / 0.5704 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.4027, allocations: 24.19 kB / 0.5704 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.4027, allocations: 0 / 0.5704 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.4027, allocations: 14.62 kB / 0.5704 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.049e-05/0.4028, allocations: 28.11 kB / 0.5705 GB, free: 42.85 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4028, allocations: 1.375 kB / 0.5705 GB, free: 42.85 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4028, allocations: 0 / 0.5705 GB, free: 42.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.4028, allocations: 0 / 0.5705 GB, free: 42.85 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.0002356/0.4031, allocations: 322.4 kB / 0.5708 GB, free: 42.49 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.4031, allocations: 9.625 kB / 0.5708 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.4031, allocations: 6.219 kB / 0.5708 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.87e-05/0.4032, allocations: 163.7 kB / 0.5709 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.4032, allocations: 8.375 kB / 0.571 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.4032, allocations: 1.75 kB / 0.571 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.4033, allocations: 39.69 kB / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.4033, allocations: 192 / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.4033, allocations: 3.938 kB / 0.571 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.4034, allocations: 1.375 kB / 0.571 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.4034, allocations: 12.11 kB / 0.571 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.341e-05/0.4035, allocations: 149.9 kB / 0.5712 GB, free: 42.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.4037, allocations: 47.05 kB / 0.5712 GB, free: 42 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.4037, allocations: 16.86 kB / 0.5712 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.4037, allocations: 0 / 0.5712 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.039e-05/0.4037, allocations: 31.94 kB / 0.5712 GB, free: 41.95 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.4037, allocations: 0 / 0.5712 GB, free: 41.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001149/0.4039, allocations: 51.47 kB / 0.5713 GB, free: 41.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.4039, allocations: 60.77 kB / 0.5714 GB, free: 41.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.204e-05/0.4039, allocations: 96.61 kB / 0.5714 GB, free: 41.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.4039, allocations: 25.7 kB / 0.5715 GB, free: 41.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-06/0.4039, allocations: 80.14 kB / 0.5715 GB, free: 41.62 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.404, allocations: 14.56 kB / 0.5716 GB, free: 41.61 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.404, allocations: 16.45 kB / 0.5716 GB, free: 41.59 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.404, allocations: 312.2 kB / 0.5719 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.4041, allocations: 10.69 kB / 0.5719 GB, free: 41.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.4041, allocations: 4.25 kB / 0.5719 GB, free: 41.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.4041, allocations: 26.47 kB / 0.5719 GB, free: 41.25 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4041, allocations: 0 / 0.5719 GB, free: 41.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.174e-05/0.4042, allocations: 56.58 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.4042, allocations: 4.344 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4042, allocations: 7.922 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.4042, allocations: 1.219 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.4043, allocations: 5.438 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4043, allocations: 5.281 kB / 0.572 GB, free: 41.19 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.4043, allocations: 7.875 kB / 0.572 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4043, allocations: 4.922 kB / 0.572 GB, free: 41.18 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.333e-05/0.4044, allocations: 111.9 kB / 0.5721 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-06/0.4044, allocations: 1.25 kB / 0.5721 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.4045, allocations: 72.95 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.4045, allocations: 1 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4045, allocations: 1.188 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4045, allocations: 0 / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.617e-05/0.4046, allocations: 164.3 kB / 0.5723 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4046, allocations: 5 kB / 0.5723 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.4046, allocations: 8.781 kB / 0.5724 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4046, allocations: 3.938 kB / 0.5724 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.4047, allocations: 4.969 kB / 0.5724 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4047, allocations: 0 / 0.5724 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4047, allocations: 1.094 kB / 0.5724 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.4048, allocations: 101.1 kB / 0.5725 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.4048, allocations: 79.27 kB / 0.5725 GB, free: 40.6 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.4048, allocations: 9.562 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.4048, allocations: 0 / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.4049, allocations: 6.609 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4049, allocations: 5.25 kB / 0.5726 GB, free: 40.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.48e-05/0.4049, allocations: 80.31 kB / 0.5726 GB, free: 40.5 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4049, allocations: 1.094 kB / 0.5726 GB, free: 40.5 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001744/0.4051, allocations: 6.812 kB / 0.5726 GB, free: 40.5 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.886e-05/0.4052, allocations: 115.5 kB / 0.5727 GB, free: 40.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.4052, allocations: 24.12 kB / 0.5728 GB, free: 40.39 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4053, allocations: 0 / 0.5728 GB, free: 40.39 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.4053, allocations: 22.7 kB / 0.5728 GB, free: 40.38 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.4054, allocations: 6.562 kB / 0.5728 GB, free: 40.37 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.4056, allocations: 130.1 kB / 0.5729 GB, free: 40.24 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.916e-05/0.4057, allocations: 0.6755 MB / 0.5736 GB, free: 39.55 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.4057, allocations: 15.11 kB / 0.5736 GB, free: 39.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.4058, allocations: 10.28 kB / 0.5736 GB, free: 39.53 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.4058, allocations: 0 / 0.5736 GB, free: 39.53 MB / 462.3 MB Notification: Performance of Templates: time 0.002122/0.4079, allocations: 0.5709 MB / 0.5742 GB, free: 39.23 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","/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