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.001042/0.001042, allocations: 101.6 kB / 16.5 MB, free: 6.648 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.001062/0.001062, allocations: 196.8 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.955/0.955, allocations: 119.3 MB / 410.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 55.91 kB / 0.4903 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.5012, allocations: 80.7 MB / 0.5691 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001435/0.5027, allocations: 456.5 kB / 0.5695 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.5029, allocations: 31.95 kB / 0.5695 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.5029, allocations: 1.125 kB / 0.5695 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.5029, allocations: 0 / 0.5695 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.503, allocations: 3.984 kB / 0.5695 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.5031, allocations: 6.062 kB / 0.5695 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.337e-05/0.5032, allocations: 6.406 kB / 0.5695 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.5032, allocations: 1.156 kB / 0.5695 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.5032, allocations: 1.062 kB / 0.5695 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.5033, allocations: 9.047 kB / 0.5696 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.5033, allocations: 1.188 kB / 0.5696 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.5033, allocations: 12.42 kB / 0.5696 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-06/0.5034, allocations: 1.219 kB / 0.5696 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.5034, allocations: 0 / 0.5696 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.118e-05/0.5034, allocations: 8.547 kB / 0.5696 GB, free: 43.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5035, allocations: 1.031 kB / 0.5696 GB, free: 43.1 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.01e-07/0.5035, allocations: 4 kB / 0.5696 GB, free: 43.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5035, allocations: 3.938 kB / 0.5696 GB, free: 43.09 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.0002028/0.5037, allocations: 316.1 kB / 0.5699 GB, free: 42.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5037, allocations: 12.92 kB / 0.5699 GB, free: 42.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.5037, allocations: 2.125 kB / 0.5699 GB, free: 42.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.777e-05/0.5038, allocations: 160.4 kB / 0.5701 GB, free: 42.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.5038, allocations: 1.594 kB / 0.5701 GB, free: 42.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.5038, allocations: 384 / 0.5701 GB, free: 42.54 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.385e-05/0.5039, allocations: 37.83 kB / 0.5701 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.5039, allocations: 4.188 kB / 0.5701 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.5039, allocations: 7.938 kB / 0.5701 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.5039, allocations: 1.25 kB / 0.5701 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.731e-05/0.504, allocations: 6.547 kB / 0.5701 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.105e-05/0.5041, allocations: 144.3 kB / 0.5702 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/0.5041, allocations: 23.2 kB / 0.5703 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.5041, allocations: 7.328 kB / 0.5703 GB, free: 42.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.5043, allocations: 91.41 kB / 0.5704 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.5043, allocations: 35.81 kB / 0.5704 GB, free: 42.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5044, allocations: 0 / 0.5704 GB, free: 42.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001096/0.5045, allocations: 46.22 kB / 0.5704 GB, free: 42.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.5045, allocations: 51.41 kB / 0.5705 GB, free: 42.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.418e-05/0.5045, allocations: 90.89 kB / 0.5706 GB, free: 41.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.5045, allocations: 25.7 kB / 0.5706 GB, free: 41.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-06/0.5045, allocations: 84.27 kB / 0.5707 GB, free: 41.79 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.5046, allocations: 9.031 kB / 0.5707 GB, free: 41.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.5046, allocations: 12.78 kB / 0.5707 GB, free: 41.77 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.5046, allocations: 314.8 kB / 0.571 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.5046, allocations: 2.156 kB / 0.571 GB, free: 41.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-06/0.5047, allocations: 2.188 kB / 0.571 GB, free: 41.45 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.5047, allocations: 17.2 kB / 0.571 GB, free: 41.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5047, allocations: 1.156 kB / 0.571 GB, free: 41.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.559e-05/0.5047, allocations: 37.17 kB / 0.5711 GB, free: 41.4 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5048, allocations: 4.625 kB / 0.5711 GB, free: 41.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5048, allocations: 9.094 kB / 0.5711 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.5048, allocations: 3.938 kB / 0.5711 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.562e-05/0.5048, allocations: 7.656 kB / 0.5711 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5049, allocations: 0 / 0.5711 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.5049, allocations: 3.188 kB / 0.5711 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.5049, allocations: 0 / 0.5711 GB, free: 41.39 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.96e-05/0.5049, allocations: 112.1 kB / 0.5712 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.5049, allocations: 0 / 0.5712 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.505, allocations: 52.78 kB / 0.5712 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.505, allocations: 3.984 kB / 0.5712 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.505, allocations: 9.156 kB / 0.5713 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.505, allocations: 3.938 kB / 0.5713 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.001e-05/0.5051, allocations: 152.1 kB / 0.5714 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5051, allocations: 0 / 0.5714 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.5051, allocations: 2.25 kB / 0.5714 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5051, allocations: 5.156 kB / 0.5714 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.5051, allocations: 3.938 kB / 0.5714 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5051, allocations: 1.25 kB / 0.5714 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5052, allocations: 0 / 0.5714 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.299e-05/0.5052, allocations: 70.41 kB / 0.5715 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.5052, allocations: 77.11 kB / 0.5716 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.5052, allocations: 5.156 kB / 0.5716 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.5053, allocations: 32 / 0.5716 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.5053, allocations: 5.312 kB / 0.5716 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.5053, allocations: 1.25 kB / 0.5716 GB, free: 40.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.092e-05/0.5053, allocations: 75.28 kB / 0.5716 GB, free: 40.74 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.5053, allocations: 0 / 0.5716 GB, free: 40.74 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001835/0.5055, allocations: 2.906 kB / 0.5716 GB, free: 40.74 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 8.817e-05/0.5056, allocations: 101.7 kB / 0.5717 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.485e-05/0.5057, allocations: 11.53 kB / 0.5718 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5057, allocations: 4.062 kB / 0.5718 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.5057, allocations: 7.625 kB / 0.5718 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.5058, allocations: 5.625 kB / 0.5718 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.506, allocations: 93.66 kB / 0.5719 GB, free: 40.52 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.5061, allocations: 0.6724 MB / 0.5725 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.212e-05/0.5062, allocations: 1.406 kB / 0.5725 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.099e-05/0.5062, allocations: 11.5 kB / 0.5725 GB, free: 39.81 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.5062, allocations: 0 / 0.5725 GB, free: 39.81 MB / 462.3 MB Notification: Performance of Templates: time 0.00197/0.5082, allocations: 270.7 kB / 0.5728 GB, free: 39.67 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/jenkins1/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