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.001271/0.001271, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001227/0.001227, allocations: 191.4 kB / 18.51 MB, free: 4.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.247/1.247, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8135/0.8135, allocations: 119.3 MB / 411.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 0.4916 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4397, allocations: 80.69 MB / 0.5704 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001406/0.4411, allocations: 403.7 kB / 0.5708 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.4413, allocations: 26.11 kB / 0.5708 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.4414, allocations: 1.219 kB / 0.5708 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.4414, allocations: 0 / 0.5708 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.505e-05/0.4414, allocations: 3.984 kB / 0.5708 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.4416, allocations: 7.438 kB / 0.5708 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.4417, allocations: 5.125 kB / 0.5708 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.4417, allocations: 2.375 kB / 0.5708 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.505e-05/0.4417, allocations: 9.203 kB / 0.5708 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.501e-05/0.4418, allocations: 5.203 kB / 0.5708 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.4418, allocations: 0 / 0.5708 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.622e-05/0.4418, allocations: 8.969 kB / 0.5708 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.4419, allocations: 0 / 0.5708 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.4419, allocations: 9.344 kB / 0.5708 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.183e-05/0.4419, allocations: 8.422 kB / 0.5709 GB, free: 43.01 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4419, allocations: 0 / 0.5709 GB, free: 43.01 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.543e-06/0.442, allocations: 0 / 0.5709 GB, free: 43.01 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.442, allocations: 1.344 kB / 0.5709 GB, free: 43.01 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.0001891/0.4422, allocations: 319.4 kB / 0.5712 GB, free: 42.65 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.4422, allocations: 12.67 kB / 0.5712 GB, free: 42.65 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.4422, allocations: 2.281 kB / 0.5712 GB, free: 42.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.478e-05/0.4423, allocations: 168.3 kB / 0.5713 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4423, allocations: 2.031 kB / 0.5713 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.4423, allocations: 384 / 0.5713 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.51e-05/0.4424, allocations: 28.92 kB / 0.5714 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4424, allocations: 1.344 kB / 0.5714 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.4424, allocations: 7.922 kB / 0.5714 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4424, allocations: 4 kB / 0.5714 GB, free: 42.4 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.4424, allocations: 4.125 kB / 0.5714 GB, free: 42.4 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.728e-05/0.4425, allocations: 147.3 kB / 0.5715 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.4426, allocations: 24.48 kB / 0.5715 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.4426, allocations: 14.25 kB / 0.5716 GB, free: 42.17 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.4428, allocations: 82.55 kB / 0.5716 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.4428, allocations: 43.67 kB / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4428, allocations: 0 / 0.5717 GB, free: 42.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001082/0.4429, allocations: 42.67 kB / 0.5717 GB, free: 41.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.4429, allocations: 52.72 kB / 0.5718 GB, free: 41.92 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.376e-05/0.443, allocations: 89.86 kB / 0.5719 GB, free: 41.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.443, allocations: 25.7 kB / 0.5719 GB, free: 41.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-06/0.443, allocations: 80.14 kB / 0.572 GB, free: 41.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.443, allocations: 5.344 kB / 0.572 GB, free: 41.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.443, allocations: 24.8 kB / 0.572 GB, free: 41.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.727e-05/0.4431, allocations: 314.8 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.4431, allocations: 1.406 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.4431, allocations: 2.719 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.4431, allocations: 13.42 kB / 0.5723 GB, free: 41.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4431, allocations: 0 / 0.5723 GB, free: 41.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.467e-05/0.4432, allocations: 38.34 kB / 0.5723 GB, free: 41.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.4432, allocations: 5.5 kB / 0.5723 GB, free: 41.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.4432, allocations: 4 kB / 0.5724 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4432, allocations: 3.938 kB / 0.5724 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.4433, allocations: 4.094 kB / 0.5724 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.4433, allocations: 3.938 kB / 0.5724 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.4433, allocations: 9.906 kB / 0.5724 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.4433, allocations: 1.25 kB / 0.5724 GB, free: 41.3 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 3.446e-05/0.4433, allocations: 112.1 kB / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.4434, allocations: 3.984 kB / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.4434, allocations: 52.84 kB / 0.5725 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4434, allocations: 0 / 0.5725 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4435, allocations: 1.375 kB / 0.5725 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4435, allocations: 0 / 0.5725 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.342e-05/0.4435, allocations: 152.4 kB / 0.5727 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4435, allocations: 0 / 0.5727 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.4435, allocations: 2.75 kB / 0.5727 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4435, allocations: 0 / 0.5727 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.4436, allocations: 5.312 kB / 0.5727 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4436, allocations: 0 / 0.5727 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4436, allocations: 7.969 kB / 0.5727 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.771e-05/0.4436, allocations: 62.75 kB / 0.5728 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.4436, allocations: 81.05 kB / 0.5728 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.4436, allocations: 5.312 kB / 0.5728 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.4437, allocations: 0 / 0.5728 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.4437, allocations: 1.375 kB / 0.5728 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.4437, allocations: 1.375 kB / 0.5728 GB, free: 40.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.105e-05/0.4437, allocations: 79.31 kB / 0.5729 GB, free: 40.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 8e-08/0.4437, allocations: 0 / 0.5729 GB, free: 40.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001823/0.4439, allocations: 6.75 kB / 0.5729 GB, free: 40.66 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 7.062e-05/0.444, allocations: 102.3 kB / 0.573 GB, free: 40.56 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.241e-05/0.444, allocations: 10.81 kB / 0.573 GB, free: 40.56 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.444, allocations: 0 / 0.573 GB, free: 40.56 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.4441, allocations: 4.125 kB / 0.573 GB, free: 40.56 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.4442, allocations: 5.5 kB / 0.573 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001434/0.4443, allocations: 122.8 kB / 0.5732 GB, free: 40.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.168e-05/0.4444, allocations: 0.6703 MB / 0.5738 GB, free: 39.71 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/0.4444, allocations: 8.812 kB / 0.5738 GB, free: 39.71 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.4444, allocations: 1.375 kB / 0.5738 GB, free: 39.71 MB / 462.3 MB Notification: Performance of Templates: time 0.001514/0.4459, allocations: 434.8 kB / 0.5742 GB, free: 39.5 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches