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.00115/0.00115, allocations: 95.88 kB / 16.31 MB, free: 6.121 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.001372/0.001372, allocations: 183.5 kB / 17.2 MB, free: 6.004 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.362/1.362, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9937/0.9937, allocations: 120.5 MB / 412.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12 kB / 0.4942 GB, free: 11.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5191/0.5195, allocations: 82.82 MB / 0.5751 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004845/0.52, allocations: 118.9 kB / 0.5752 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001608/0.5202, allocations: 27.45 kB / 0.5752 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.5202, allocations: 0 / 0.5752 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.5202, allocations: 0 / 0.5752 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.5203, allocations: 3.984 kB / 0.5752 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.5205, allocations: 3.719 kB / 0.5752 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.542e-05/0.5205, allocations: 3.938 kB / 0.5752 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.5206, allocations: 5.141 kB / 0.5752 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.5206, allocations: 9.188 kB / 0.5752 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.5206, allocations: 1.156 kB / 0.5752 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.5207, allocations: 0 / 0.5752 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.553e-05/0.5207, allocations: 5.438 kB / 0.5752 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.5207, allocations: 0 / 0.5752 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.5208, allocations: 27.05 kB / 0.5753 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.517e-05/0.5208, allocations: 14.12 kB / 0.5753 GB, free: 41.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5209, allocations: 1.312 kB / 0.5753 GB, free: 41.2 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5209, allocations: 0 / 0.5753 GB, free: 41.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.5209, allocations: 0 / 0.5753 GB, free: 41.2 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.0002165/0.5211, allocations: 321.4 kB / 0.5756 GB, free: 40.84 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5211, allocations: 14.27 kB / 0.5756 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.5212, allocations: 0 / 0.5756 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.433e-05/0.5213, allocations: 159.1 kB / 0.5757 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.5213, allocations: 1.406 kB / 0.5757 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.5213, allocations: 3.938 kB / 0.5757 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.552e-05/0.5214, allocations: 32.53 kB / 0.5758 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5214, allocations: 0.7188 kB / 0.5758 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.5214, allocations: 0 / 0.5758 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5214, allocations: 8.828 kB / 0.5758 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.5215, allocations: 6.797 kB / 0.5758 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.5216, allocations: 152.4 kB / 0.5759 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.18e-05/0.5216, allocations: 22.95 kB / 0.576 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.5219, allocations: 91.47 kB / 0.576 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.5219, allocations: 31.78 kB / 0.5761 GB, free: 40.22 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5219, allocations: 7.938 kB / 0.5761 GB, free: 40.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.000147/0.5221, allocations: 38.22 kB / 0.5761 GB, free: 40.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.5221, allocations: 55.41 kB / 0.5762 GB, free: 40.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.871e-05/0.5221, allocations: 94.88 kB / 0.5763 GB, free: 40.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.5221, allocations: 25.7 kB / 0.5763 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.275e-05/0.5222, allocations: 80.14 kB / 0.5764 GB, free: 39.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.5222, allocations: 4.781 kB / 0.5764 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.5222, allocations: 1.062 kB / 0.5764 GB, free: 39.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.5222, allocations: 315 kB / 0.5767 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.5223, allocations: 2.344 kB / 0.5767 GB, free: 39.58 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.5223, allocations: 13.89 kB / 0.5767 GB, free: 39.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.854e-05/0.5223, allocations: 2.875 kB / 0.5767 GB, free: 39.57 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.5223, allocations: 0 / 0.5767 GB, free: 39.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.995e-05/0.5224, allocations: 33.08 kB / 0.5767 GB, free: 39.54 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5224, allocations: 8.031 kB / 0.5767 GB, free: 39.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5224, allocations: 0 / 0.5767 GB, free: 39.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5224, allocations: 0 / 0.5767 GB, free: 39.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.5225, allocations: 7.344 kB / 0.5767 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5225, allocations: 1.375 kB / 0.5767 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.5225, allocations: 1.969 kB / 0.5767 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.5225, allocations: 13.31 kB / 0.5768 GB, free: 39.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.5226, allocations: 111.3 kB / 0.5769 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.5226, allocations: 0 / 0.5769 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.319e-05/0.5227, allocations: 43.55 kB / 0.5769 GB, free: 39.36 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5227, allocations: 9.453 kB / 0.5769 GB, free: 39.35 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5227, allocations: 0 / 0.5769 GB, free: 39.35 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5227, allocations: 0 / 0.5769 GB, free: 39.35 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.727e-05/0.5228, allocations: 148.1 kB / 0.5771 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5228, allocations: 0 / 0.5771 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.5228, allocations: 3.344 kB / 0.5771 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5228, allocations: 1.438 kB / 0.5771 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.5228, allocations: 0 / 0.5771 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5228, allocations: 3.984 kB / 0.5771 GB, free: 39.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5228, allocations: 1 kB / 0.5771 GB, free: 39.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.998e-05/0.5229, allocations: 70 kB / 0.5771 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.5229, allocations: 81.02 kB / 0.5772 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.523, allocations: 4.922 kB / 0.5772 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.523, allocations: 4 kB / 0.5772 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.523, allocations: 1.312 kB / 0.5772 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.523, allocations: 1.062 kB / 0.5772 GB, free: 38.97 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.523, allocations: 75.28 kB / 0.5773 GB, free: 38.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.523, allocations: 0 / 0.5773 GB, free: 38.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001902/0.5232, allocations: 12.25 kB / 0.5773 GB, free: 38.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.815e-05/0.5233, allocations: 92.66 kB / 0.5774 GB, free: 38.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.563e-05/0.5234, allocations: 6.906 kB / 0.5774 GB, free: 38.8 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5234, allocations: 0 / 0.5774 GB, free: 38.8 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.5234, allocations: 16.05 kB / 0.5774 GB, free: 38.79 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.933e-05/0.5235, allocations: 9.422 kB / 0.5774 GB, free: 38.78 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.5237, allocations: 85.83 kB / 0.5775 GB, free: 38.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.804e-05/0.5238, allocations: 0.6757 MB / 0.5782 GB, free: 37.97 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.5239, allocations: 1.25 kB / 0.5782 GB, free: 37.97 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.5239, allocations: 8.875 kB / 0.5782 GB, free: 37.96 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.5239, allocations: 0 / 0.5782 GB, free: 37.96 MB / 462.3 MB Notification: Performance of Templates: time 0.002132/0.526, allocations: 265.2 kB / 0.5784 GB, free: 37.82 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/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