Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 111.5 kB / 17.29 MB, free: 6.219 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.001274/0.001274, allocations: 189.3 kB / 18.21 MB, free: 5.297 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.31/1.31, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8587/0.8587, allocations: 119.3 MB / 411.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 64.12 kB / 0.4911 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4421, allocations: 80.68 MB / 0.5699 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001402/0.4435, allocations: 467.9 kB / 0.5703 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.4437, allocations: 30.59 kB / 0.5703 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.4437, allocations: 1.188 kB / 0.5704 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.4437, allocations: 4 kB / 0.5704 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.4438, allocations: 4 kB / 0.5704 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.4439, allocations: 3.625 kB / 0.5704 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.227e-05/0.444, allocations: 5.375 kB / 0.5704 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.444, allocations: 1.188 kB / 0.5704 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.335e-05/0.444, allocations: 1.156 kB / 0.5704 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.098e-05/0.4441, allocations: 1.188 kB / 0.5704 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.4441, allocations: 1.25 kB / 0.5704 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.4441, allocations: 13.2 kB / 0.5704 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.4442, allocations: 3.938 kB / 0.5704 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.4442, allocations: 5.453 kB / 0.5704 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.287e-05/0.4442, allocations: 10.61 kB / 0.5704 GB, free: 43.08 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4442, allocations: 0 / 0.5704 GB, free: 43.08 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4442, allocations: 5.312 kB / 0.5704 GB, free: 43.07 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.4443, allocations: 0 / 0.5704 GB, free: 43.07 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001922/0.4445, allocations: 315.4 kB / 0.5707 GB, free: 42.72 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4445, allocations: 13.2 kB / 0.5707 GB, free: 42.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.4445, allocations: 6.172 kB / 0.5707 GB, free: 42.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.124e-05/0.4446, allocations: 160.4 kB / 0.5709 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.4446, allocations: 384 / 0.5709 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.4446, allocations: 5.625 kB / 0.5709 GB, free: 42.51 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.546e-05/0.4447, allocations: 29.95 kB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.4447, allocations: 4.125 kB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.4447, allocations: 3.938 kB / 0.5709 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4447, allocations: 1.062 kB / 0.5709 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.4447, allocations: 6.141 kB / 0.5709 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.418e-05/0.4448, allocations: 147.9 kB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.4449, allocations: 27.98 kB / 0.5711 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.4449, allocations: 7.016 kB / 0.5711 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.4451, allocations: 87.69 kB / 0.5712 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.4452, allocations: 31.72 kB / 0.5712 GB, free: 42.1 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.4452, allocations: 0 / 0.5712 GB, free: 42.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001309/0.4453, allocations: 50.22 kB / 0.5713 GB, free: 42.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.4453, allocations: 51.41 kB / 0.5713 GB, free: 41.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.573e-05/0.4453, allocations: 98.98 kB / 0.5714 GB, free: 41.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.4454, allocations: 25.7 kB / 0.5714 GB, free: 41.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-06/0.4454, allocations: 80.14 kB / 0.5715 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.4454, allocations: 4.969 kB / 0.5715 GB, free: 41.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.4454, allocations: 16.91 kB / 0.5715 GB, free: 41.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.4455, allocations: 314.8 kB / 0.5718 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.4455, allocations: 2.125 kB / 0.5718 GB, free: 41.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.4455, allocations: 2.188 kB / 0.5718 GB, free: 41.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.4456, allocations: 21.2 kB / 0.5719 GB, free: 41.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4456, allocations: 1.094 kB / 0.5719 GB, free: 41.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.736e-05/0.4456, allocations: 33.02 kB / 0.5719 GB, free: 41.38 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4456, allocations: 5.344 kB / 0.5719 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4456, allocations: 0 / 0.5719 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4457, allocations: 9.109 kB / 0.5719 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.4457, allocations: 6.25 kB / 0.5719 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4457, allocations: 1.281 kB / 0.5719 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.4457, allocations: 1.969 kB / 0.5719 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.4458, allocations: 5.344 kB / 0.5719 GB, free: 41.37 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 (2): * Single equations (assignments): 2 * 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.306e-05/0.4458, allocations: 110.8 kB / 0.572 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-06/0.4458, allocations: 1 kB / 0.572 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.4459, allocations: 52 kB / 0.5721 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4459, allocations: 5.156 kB / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4459, allocations: 0 / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4459, allocations: 0 / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.158e-05/0.446, allocations: 148.9 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.446, allocations: 3.984 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.446, allocations: 2.688 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.446, allocations: 0 / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.446, allocations: 5.094 kB / 0.5722 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.446, allocations: 0 / 0.5722 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.446, allocations: 1.281 kB / 0.5722 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.844e-05/0.4461, allocations: 65.5 kB / 0.5723 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.4461, allocations: 82.33 kB / 0.5724 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.4461, allocations: 3.938 kB / 0.5724 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.4462, allocations: 5.094 kB / 0.5724 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.4462, allocations: 5.109 kB / 0.5724 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.4462, allocations: 3.938 kB / 0.5724 GB, free: 40.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.075e-05/0.4462, allocations: 76.41 kB / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4462, allocations: 0 / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001721/0.4464, allocations: 2.312 kB / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.537e-05/0.4465, allocations: 106.7 kB / 0.5726 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.4466, allocations: 6.438 kB / 0.5726 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4466, allocations: 0 / 0.5726 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.4466, allocations: 11.81 kB / 0.5726 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.4467, allocations: 7.25 kB / 0.5726 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.4469, allocations: 122.7 kB / 0.5727 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.212e-05/0.447, allocations: 0.6714 MB / 0.5734 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.447, allocations: 12.47 kB / 0.5734 GB, free: 39.77 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.447, allocations: 4.125 kB / 0.5734 GB, free: 39.76 MB / 462.3 MB Notification: Performance of Templates: time 0.001575/0.4486, allocations: 431.1 kB / 0.5738 GB, free: 39.56 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches