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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 104 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8475/0.8475, allocations: 119.3 MB / 460.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 55.92 kB / 0.5391 GB, free: 43.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 80.7 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001769/0.1587, allocations: 464.6 kB / 0.6184 GB, free: 12.27 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000229/0.1589, allocations: 35.88 kB / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.1589, allocations: 0 / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.159, allocations: 0 / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.1591, allocations: 0 / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.1592, allocations: 12 kB / 0.6184 GB, free: 12.23 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.001e-05/0.1593, allocations: 0 / 0.6184 GB, free: 12.23 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.1593, allocations: 5.656 kB / 0.6184 GB, free: 12.22 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.1593, allocations: 0 / 0.6184 GB, free: 12.22 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.1594, allocations: 0 / 0.6184 GB, free: 12.22 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1594, allocations: 3.984 kB / 0.6184 GB, free: 12.22 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.1595, allocations: 15.92 kB / 0.6184 GB, free: 12.2 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.1595, allocations: 4 kB / 0.6184 GB, free: 12.2 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.1595, allocations: 3.938 kB / 0.6184 GB, free: 12.2 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.486e-05/0.1596, allocations: 7.984 kB / 0.6184 GB, free: 12.19 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1596, allocations: 0 / 0.6184 GB, free: 12.19 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1596, allocations: 4 kB / 0.6184 GB, free: 12.18 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1596, allocations: 0 / 0.6184 GB, free: 12.18 MB / 442.8 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.000295/0.1599, allocations: 319.6 kB / 0.6188 GB, free: 11.82 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.16, allocations: 8.031 kB / 0.6188 GB, free: 11.81 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.16, allocations: 4.938 kB / 0.6188 GB, free: 11.81 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.1601, allocations: 160.4 kB / 0.6189 GB, free: 11.61 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1601, allocations: 4.312 kB / 0.6189 GB, free: 11.61 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1601, allocations: 384 / 0.6189 GB, free: 11.61 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.1602, allocations: 34.27 kB / 0.619 GB, free: 11.57 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1602, allocations: 192 / 0.619 GB, free: 11.57 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1603, allocations: 3.938 kB / 0.619 GB, free: 11.57 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1603, allocations: 0 / 0.619 GB, free: 11.57 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.1603, allocations: 11.92 kB / 0.619 GB, free: 11.55 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.1605, allocations: 149.6 kB / 0.6191 GB, free: 11.36 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.1605, allocations: 22.61 kB / 0.6191 GB, free: 11.33 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.1605, allocations: 12.84 kB / 0.6191 GB, free: 11.31 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.1608, allocations: 89.17 kB / 0.6192 GB, free: 11.21 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1608, allocations: 34.55 kB / 0.6193 GB, free: 11.16 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1608, allocations: 0 / 0.6193 GB, free: 11.16 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001385/0.161, allocations: 45.58 kB / 0.6193 GB, free: 11.11 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.161, allocations: 51.41 kB / 0.6194 GB, free: 11.05 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.922e-05/0.1611, allocations: 93.86 kB / 0.6194 GB, free: 10.95 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1611, allocations: 25.7 kB / 0.6195 GB, free: 10.92 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.1611, allocations: 86.83 kB / 0.6196 GB, free: 10.83 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1611, allocations: 3.906 kB / 0.6196 GB, free: 10.83 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1612, allocations: 17.72 kB / 0.6196 GB, free: 10.8 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1613, allocations: 314.8 kB / 0.6199 GB, free: 10.49 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1613, allocations: 0 / 0.6199 GB, free: 10.49 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-06/0.1613, allocations: 4 kB / 0.6199 GB, free: 10.48 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.1614, allocations: 12.86 kB / 0.6199 GB, free: 10.47 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1614, allocations: 4.062 kB / 0.6199 GB, free: 10.46 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.126e-05/0.1614, allocations: 37.64 kB / 0.6199 GB, free: 10.42 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1615, allocations: 7.984 kB / 0.6199 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1615, allocations: 0 / 0.6199 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1615, allocations: 7.938 kB / 0.6199 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.1615, allocations: 0 / 0.6199 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1616, allocations: 0 / 0.6199 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.1616, allocations: 4.281 kB / 0.62 GB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1616, allocations: 0 / 0.62 GB, free: 10.4 MB / 442.8 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 7.389e-05/0.1617, allocations: 117.8 kB / 0.6201 GB, free: 10.28 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.1617, allocations: 0 / 0.6201 GB, free: 10.28 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1618, allocations: 56.62 kB / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1618, allocations: 0 / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1618, allocations: 0 / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1618, allocations: 4 kB / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.73e-05/0.1619, allocations: 149.7 kB / 0.6203 GB, free: 10.01 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1619, allocations: 0 / 0.6203 GB, free: 10.01 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.1619, allocations: 4 kB / 0.6203 GB, free: 10.01 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.162, allocations: 7.969 kB / 0.6203 GB, free: 10 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.162, allocations: 7.875 kB / 0.6203 GB, free: 9.992 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.162, allocations: 0 / 0.6203 GB, free: 9.992 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.162, allocations: 0 / 0.6203 GB, free: 9.992 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.1623, allocations: 0.6161 MB / 0.6209 GB, free: 9.316 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1624, allocations: 81.09 kB / 0.621 GB, free: 9.219 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1624, allocations: 4.031 kB / 0.621 GB, free: 9.215 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.155e-05/0.1624, allocations: 0 / 0.621 GB, free: 9.215 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.1624, allocations: 4 kB / 0.621 GB, free: 9.211 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1625, allocations: 0 / 0.621 GB, free: 9.211 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.169e-05/0.1625, allocations: 75.28 kB / 0.621 GB, free: 9.137 MB / 442.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1625, allocations: 0 / 0.621 GB, free: 9.137 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002714/0.1628, allocations: 4 kB / 0.621 GB, free: 9.133 MB / 442.8 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 0.0001333/0.1629, allocations: 99.23 kB / 0.6211 GB, free: 9.023 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.163, allocations: 19.92 kB / 0.6212 GB, free: 9.004 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.163, allocations: 0 / 0.6212 GB, free: 9.004 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.163, allocations: 4 kB / 0.6212 GB, free: 9 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1632, allocations: 3.938 kB / 0.6212 GB, free: 8.996 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.1635, allocations: 185.5 kB / 0.6213 GB, free: 8.773 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1637, allocations: 0.6692 MB / 0.622 GB, free: 8.078 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.902e-05/0.1638, allocations: 12.06 kB / 0.622 GB, free: 8.066 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.1638, allocations: 7.438 kB / 0.622 GB, free: 8.059 MB / 442.8 MB Notification: Performance of SimCode: time 2.11e-07/0.1638, allocations: 0 / 0.622 GB, free: 8.059 MB / 442.8 MB Notification: Performance of Templates: time 0.002386/0.1662, allocations: 279.7 kB / 0.6223 GB, free: 7.789 MB / 442.8 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@2/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