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.0009871/0.0009872, allocations: 92.8 kB / 17.31 MB, free: 5.637 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.001207/0.001207, allocations: 180.4 kB / 18.22 MB, free: 5.207 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.277/1.277, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8896/0.8896, allocations: 120.5 MB / 413.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8 kB / 0.4955 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4937, allocations: 82.83 MB / 0.5764 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004347/0.4942, allocations: 125.2 kB / 0.5766 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.4944, allocations: 31.56 kB / 0.5766 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.247e-05/0.4944, allocations: 0 / 0.5766 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.4944, allocations: 1.031 kB / 0.5766 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.4945, allocations: 0 / 0.5766 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.4946, allocations: 12.48 kB / 0.5766 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.358e-05/0.4946, allocations: 6.125 kB / 0.5766 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.4947, allocations: 2.219 kB / 0.5766 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.4947, allocations: 0 / 0.5766 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.4948, allocations: 1.938 kB / 0.5766 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.4948, allocations: 0 / 0.5766 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.4948, allocations: 9.703 kB / 0.5766 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.4948, allocations: 4 kB / 0.5766 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.4949, allocations: 38.91 kB / 0.5767 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.193e-05/0.4949, allocations: 2.719 kB / 0.5767 GB, free: 41.17 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4949, allocations: 0 / 0.5767 GB, free: 41.17 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.382e-06/0.495, allocations: 1 kB / 0.5767 GB, free: 41.17 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.495, allocations: 0 / 0.5767 GB, free: 41.17 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.0001831/0.4951, allocations: 313.6 kB / 0.577 GB, free: 40.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4952, allocations: 9.406 kB / 0.577 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.4952, allocations: 2.219 kB / 0.577 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.85e-05/0.4953, allocations: 160.4 kB / 0.5771 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.4953, allocations: 9.844 kB / 0.5771 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.4953, allocations: 384 / 0.5771 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.4954, allocations: 38.38 kB / 0.5772 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.4954, allocations: 8.125 kB / 0.5772 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.4954, allocations: 3.938 kB / 0.5772 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4954, allocations: 0 / 0.5772 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.4955, allocations: 3.938 kB / 0.5772 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.301e-05/0.4956, allocations: 150.7 kB / 0.5773 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/0.4956, allocations: 23.73 kB / 0.5774 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.4956, allocations: 7.359 kB / 0.5774 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.4958, allocations: 87.88 kB / 0.5774 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4959, allocations: 36 kB / 0.5775 GB, free: 40.19 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.4959, allocations: 0 / 0.5775 GB, free: 40.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001187/0.496, allocations: 41.83 kB / 0.5775 GB, free: 40.15 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.496, allocations: 55.53 kB / 0.5776 GB, free: 40.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.63e-05/0.496, allocations: 91.08 kB / 0.5777 GB, free: 39.99 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.4961, allocations: 33.69 kB / 0.5777 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-06/0.4961, allocations: 80.14 kB / 0.5778 GB, free: 39.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4961, allocations: 9.031 kB / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.4961, allocations: 10.88 kB / 0.5778 GB, free: 39.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.4962, allocations: 310.8 kB / 0.5781 GB, free: 39.53 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.4962, allocations: 2.219 kB / 0.5781 GB, free: 39.53 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.4962, allocations: 6.375 kB / 0.5781 GB, free: 39.53 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.4962, allocations: 17.8 kB / 0.5781 GB, free: 39.51 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4962, allocations: 0 / 0.5781 GB, free: 39.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.183e-05/0.4963, allocations: 42.06 kB / 0.5781 GB, free: 39.47 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4963, allocations: 4.906 kB / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4963, allocations: 0 / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.4963, allocations: 3.938 kB / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.311e-05/0.4964, allocations: 3.938 kB / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.4964, allocations: 0 / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.4964, allocations: 6.062 kB / 0.5782 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.4964, allocations: 1.094 kB / 0.5782 GB, free: 39.46 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.187e-05/0.4965, allocations: 108.2 kB / 0.5783 GB, free: 39.35 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.4965, allocations: 0 / 0.5783 GB, free: 39.35 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.4966, allocations: 52.56 kB / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4966, allocations: 0 / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4966, allocations: 0.8438 kB / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4966, allocations: 3.984 kB / 0.5783 GB, free: 39.29 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.739e-05/0.4966, allocations: 152 kB / 0.5785 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4966, allocations: 0 / 0.5785 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.4967, allocations: 3.75 kB / 0.5785 GB, free: 39.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4967, allocations: 3.938 kB / 0.5785 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.4967, allocations: 9.031 kB / 0.5785 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4967, allocations: 0 / 0.5785 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4967, allocations: 0 / 0.5785 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.489e-05/0.4968, allocations: 65.94 kB / 0.5785 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.4968, allocations: 82.61 kB / 0.5786 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.4968, allocations: 3.938 kB / 0.5786 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.4968, allocations: 1.344 kB / 0.5786 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.4968, allocations: 0.7812 kB / 0.5786 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4968, allocations: 1.312 kB / 0.5786 GB, free: 38.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.182e-05/0.4969, allocations: 79.27 kB / 0.5787 GB, free: 38.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4969, allocations: 0 / 0.5787 GB, free: 38.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001822/0.497, allocations: 6.844 kB / 0.5787 GB, free: 38.83 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.118e-05/0.4971, allocations: 101.9 kB / 0.5788 GB, free: 38.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.366e-05/0.4972, allocations: 11.03 kB / 0.5788 GB, free: 38.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4972, allocations: 0 / 0.5788 GB, free: 38.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.4972, allocations: 7.125 kB / 0.5788 GB, free: 38.72 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.4974, allocations: 0.9062 kB / 0.5788 GB, free: 38.72 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000167/0.4975, allocations: 116.2 kB / 0.5789 GB, free: 38.58 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.4976, allocations: 0.6721 MB / 0.5796 GB, free: 37.89 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.4977, allocations: 8.969 kB / 0.5796 GB, free: 37.88 MB / 462.3 MB Notification: Performance of SimCode: time 3.01e-07/0.4977, allocations: 4 kB / 0.5796 GB, free: 37.88 MB / 462.3 MB Notification: Performance of Templates: time 0.001697/0.4994, allocations: 429.2 kB / 0.58 GB, free: 37.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