Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001201/0.001201, allocations: 100.1 kB / 16.5 MB, free: 6.641 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.001331/0.001332, allocations: 198.1 kB / 17.43 MB, free: 6.062 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9371/0.9371, allocations: 119.3 MB / 410.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5085, allocations: 80.68 MB / 0.569 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001505/0.5101, allocations: 461.6 kB / 0.5695 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002235/0.5103, allocations: 35.25 kB / 0.5695 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.367e-05/0.5103, allocations: 1.188 kB / 0.5695 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.5104, allocations: 3.375 kB / 0.5695 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.034e-05/0.5104, allocations: 0 / 0.5695 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.5106, allocations: 6.188 kB / 0.5695 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.489e-05/0.5106, allocations: 2.312 kB / 0.5695 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.5107, allocations: 5.266 kB / 0.5695 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.5107, allocations: 5.078 kB / 0.5695 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.5107, allocations: 1.156 kB / 0.5695 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.5107, allocations: 1.031 kB / 0.5695 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.5108, allocations: 8.562 kB / 0.5696 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.5108, allocations: 6.344 kB / 0.5696 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.5108, allocations: 0 / 0.5696 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.381e-05/0.5109, allocations: 8.422 kB / 0.5696 GB, free: 42.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5109, allocations: 8.938 kB / 0.5696 GB, free: 42.79 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5109, allocations: 0 / 0.5696 GB, free: 42.79 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.5109, allocations: 0 / 0.5696 GB, free: 42.79 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.0002331/0.5112, allocations: 320.1 kB / 0.5699 GB, free: 42.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5112, allocations: 9.062 kB / 0.5699 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.5113, allocations: 2.281 kB / 0.5699 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.741e-05/0.5113, allocations: 160.4 kB / 0.57 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.5113, allocations: 384 / 0.57 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.5113, allocations: 1.812 kB / 0.57 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.5114, allocations: 37.69 kB / 0.5701 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5114, allocations: 192 / 0.5701 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.5114, allocations: 3.938 kB / 0.5701 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5114, allocations: 1.25 kB / 0.5701 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.5115, allocations: 6.625 kB / 0.5701 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.53e-05/0.5116, allocations: 148 kB / 0.5702 GB, free: 42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.5116, allocations: 27.09 kB / 0.5703 GB, free: 41.97 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.5116, allocations: 19.09 kB / 0.5703 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.5119, allocations: 87.91 kB / 0.5704 GB, free: 41.85 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.5119, allocations: 30.56 kB / 0.5704 GB, free: 41.81 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5119, allocations: 1.062 kB / 0.5704 GB, free: 41.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001141/0.512, allocations: 50.33 kB / 0.5704 GB, free: 41.77 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.512, allocations: 51.41 kB / 0.5705 GB, free: 41.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.611e-05/0.5121, allocations: 89.86 kB / 0.5706 GB, free: 41.61 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.5121, allocations: 30.92 kB / 0.5706 GB, free: 41.57 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.011e-05/0.5121, allocations: 80.14 kB / 0.5707 GB, free: 41.49 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.5121, allocations: 9.016 kB / 0.5707 GB, free: 41.48 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.5121, allocations: 15.91 kB / 0.5707 GB, free: 41.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.5122, allocations: 311.9 kB / 0.571 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.5122, allocations: 2.094 kB / 0.571 GB, free: 41.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.5122, allocations: 2.25 kB / 0.571 GB, free: 41.15 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.5122, allocations: 13.33 kB / 0.571 GB, free: 41.14 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5123, allocations: 4 kB / 0.571 GB, free: 41.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.774e-05/0.5123, allocations: 41.28 kB / 0.5711 GB, free: 41.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5123, allocations: 7.875 kB / 0.5711 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.5123, allocations: 0 / 0.5711 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5123, allocations: 4.969 kB / 0.5711 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.5124, allocations: 3.156 kB / 0.5711 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.5124, allocations: 0 / 0.5711 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.5124, allocations: 7.172 kB / 0.5711 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.5124, allocations: 1.156 kB / 0.5711 GB, free: 41.09 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.167e-05/0.5125, allocations: 110.9 kB / 0.5712 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.5125, allocations: 1.094 kB / 0.5712 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.5126, allocations: 47.28 kB / 0.5712 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5126, allocations: 1.25 kB / 0.5712 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5126, allocations: 7.938 kB / 0.5712 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5126, allocations: 0.8438 kB / 0.5712 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.375e-05/0.5127, allocations: 152.4 kB / 0.5714 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5127, allocations: 0 / 0.5714 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.5127, allocations: 6.688 kB / 0.5714 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5127, allocations: 0 / 0.5714 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.5127, allocations: 5.469 kB / 0.5714 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5127, allocations: 0 / 0.5714 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5127, allocations: 3.938 kB / 0.5714 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.25e-05/0.5128, allocations: 62.06 kB / 0.5715 GB, free: 40.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.5128, allocations: 82.3 kB / 0.5715 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.5128, allocations: 3.938 kB / 0.5716 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.5128, allocations: 5.125 kB / 0.5716 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-06/0.5128, allocations: 0.7812 kB / 0.5716 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5128, allocations: 0.9688 kB / 0.5716 GB, free: 40.53 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.265e-05/0.5129, allocations: 79.27 kB / 0.5716 GB, free: 40.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.102e-06/0.5129, allocations: 0 / 0.5716 GB, free: 40.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001913/0.5131, allocations: 7.25 kB / 0.5716 GB, free: 40.45 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.359e-05/0.5132, allocations: 102.3 kB / 0.5717 GB, free: 40.35 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.701e-05/0.5132, allocations: 10 kB / 0.5717 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5132, allocations: 0 / 0.5717 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.5133, allocations: 8.969 kB / 0.5718 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.5134, allocations: 1.094 kB / 0.5718 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.5136, allocations: 91.09 kB / 0.5718 GB, free: 40.23 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.5137, allocations: 0.6709 MB / 0.5725 GB, free: 39.54 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.354e-05/0.5137, allocations: 5.531 kB / 0.5725 GB, free: 39.53 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.5138, allocations: 8.844 kB / 0.5725 GB, free: 39.52 MB / 462.3 MB Notification: Performance of SimCode: time 6.21e-07/0.5138, allocations: 3.938 kB / 0.5725 GB, free: 39.52 MB / 462.3 MB Notification: Performance of Templates: time 0.001855/0.5156, allocations: 286.1 kB / 0.5728 GB, free: 39.36 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches