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.001436/0.001436, allocations: 93.53 kB / 16.3 MB, free: 6.457 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.001686/0.001686, allocations: 185.2 kB / 17.2 MB, free: 6.336 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.539/1.539, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9665/0.9665, allocations: 120.5 MB / 412.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 4 kB / 0.4942 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 82.85 MB / 0.5751 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0005615/0.2048, allocations: 114.5 kB / 0.5752 GB, free: 8.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001945/0.205, allocations: 35.84 kB / 0.5752 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.205, allocations: 0 / 0.5752 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.2051, allocations: 0 / 0.5752 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.2052, allocations: 0 / 0.5752 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2053, allocations: 11.98 kB / 0.5752 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.2054, allocations: 0 / 0.5752 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.639e-05/0.2055, allocations: 0 / 0.5752 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.2055, allocations: 3.938 kB / 0.5752 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.2056, allocations: 4 kB / 0.5752 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2056, allocations: 0 / 0.5752 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.2057, allocations: 11.98 kB / 0.5752 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.2057, allocations: 3.984 kB / 0.5752 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.2057, allocations: 25.7 kB / 0.5753 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.433e-05/0.2058, allocations: 4 kB / 0.5753 GB, free: 7.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2058, allocations: 0 / 0.5753 GB, free: 7.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2058, allocations: 4 kB / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2058, allocations: 0 / 0.5753 GB, free: 7.91 MB / 446.1 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.0004226/0.2063, allocations: 315.4 kB / 0.5756 GB, free: 7.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.2063, allocations: 8.031 kB / 0.5756 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.2064, allocations: 7.891 kB / 0.5756 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2065, allocations: 159.1 kB / 0.5757 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.2065, allocations: 4 kB / 0.5757 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2066, allocations: 7.984 kB / 0.5757 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.2067, allocations: 33.62 kB / 0.5758 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2067, allocations: 8 kB / 0.5758 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2067, allocations: 0 / 0.5758 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2068, allocations: 0 / 0.5758 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.2068, allocations: 7.953 kB / 0.5758 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.207, allocations: 145.7 kB / 0.5759 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.79e-05/0.2071, allocations: 22.59 kB / 0.576 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.2074, allocations: 89.16 kB / 0.576 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2074, allocations: 42.56 kB / 0.5761 GB, free: 6.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2074, allocations: 3.938 kB / 0.5761 GB, free: 6.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.2076, allocations: 33.7 kB / 0.5761 GB, free: 6.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2076, allocations: 51.41 kB / 0.5762 GB, free: 6.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.571e-05/0.2077, allocations: 89.86 kB / 0.5763 GB, free: 6.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2077, allocations: 29.7 kB / 0.5763 GB, free: 6.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.2078, allocations: 84.14 kB / 0.5764 GB, free: 6.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2078, allocations: 8.031 kB / 0.5764 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.2078, allocations: 0 / 0.5764 GB, free: 6.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2079, allocations: 322.7 kB / 0.5767 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.208, allocations: 4 kB / 0.5767 GB, free: 6.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.208, allocations: 0 / 0.5767 GB, free: 6.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.208, allocations: 4 kB / 0.5767 GB, free: 6.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.208, allocations: 0 / 0.5767 GB, free: 6.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.954e-05/0.2081, allocations: 41.64 kB / 0.5767 GB, free: 6.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2081, allocations: 4.094 kB / 0.5767 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2081, allocations: 7.984 kB / 0.5767 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2081, allocations: 0 / 0.5767 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.2082, allocations: 4 kB / 0.5767 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2082, allocations: 0 / 0.5767 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.2082, allocations: 288 / 0.5767 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2082, allocations: 0 / 0.5767 GB, free: 6.172 MB / 446.1 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 8.301e-05/0.2083, allocations: 117.8 kB / 0.5769 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.2083, allocations: 0 / 0.5769 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2085, allocations: 64.61 kB / 0.5769 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2085, allocations: 0 / 0.5769 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2085, allocations: 0 / 0.5769 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2085, allocations: 0 / 0.5769 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2086, allocations: 157.5 kB / 0.5771 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2086, allocations: 0 / 0.5771 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.2086, allocations: 0 / 0.5771 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2086, allocations: 4 kB / 0.5771 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.2086, allocations: 0 / 0.5771 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2087, allocations: 0 / 0.5771 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2087, allocations: 4.031 kB / 0.5771 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.859e-05/0.2088, allocations: 65.08 kB / 0.5771 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.2088, allocations: 77.11 kB / 0.5772 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2088, allocations: 3.938 kB / 0.5772 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.2088, allocations: 4 kB / 0.5772 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.2089, allocations: 0 / 0.5772 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.2089, allocations: 0 / 0.5772 GB, free: 5.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.2089, allocations: 79.31 kB / 0.5773 GB, free: 5.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2089, allocations: 0 / 0.5773 GB, free: 5.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000208/0.2091, allocations: 8 kB / 0.5773 GB, free: 5.492 MB / 446.1 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 0.0001399/0.2093, allocations: 99.23 kB / 0.5774 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.907e-05/0.2094, allocations: 4 kB / 0.5774 GB, free: 5.379 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2094, allocations: 0 / 0.5774 GB, free: 5.379 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.2094, allocations: 4 kB / 0.5774 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.2095, allocations: 7.891 kB / 0.5774 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.2097, allocations: 98.75 kB / 0.5775 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.21, allocations: 0.6731 MB / 0.5782 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.485e-05/0.2101, allocations: 0 / 0.5782 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.2101, allocations: 11.44 kB / 0.5782 GB, free: 4.531 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2101, allocations: 0 / 0.5782 GB, free: 4.531 MB / 446.1 MB Notification: Performance of Templates: time 0.002213/0.2123, allocations: 273.9 kB / 0.5784 GB, free: 4.27 MB / 446.1 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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