Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001036/0.001036, allocations: 184.9 kB / 17.27 MB, free: 4.504 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.176/1.176, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.0009503/0.0009501, allocations: 100.2 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.6408/0.6408, allocations: 119.3 MB / 460.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009179/0.0009179, allocations: 59.91 kB / 0.5391 GB, free: 43.18 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1104, allocations: 80.69 MB / 0.6179 GB, free: 12.72 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001437/0.1118, allocations: 452.6 kB / 0.6184 GB, free: 12.28 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001796/0.1121, allocations: 39.88 kB / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.1121, allocations: 0 / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.1121, allocations: 0 / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.1122, allocations: 0 / 0.6184 GB, free: 12.24 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.904e-05/0.1123, allocations: 4 kB / 0.6184 GB, free: 12.23 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.414e-05/0.1123, allocations: 4 kB / 0.6184 GB, free: 12.23 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.1123, allocations: 5.641 kB / 0.6184 GB, free: 12.23 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.1124, allocations: 4 kB / 0.6184 GB, free: 12.22 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.1124, allocations: 0 / 0.6184 GB, free: 12.22 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1124, allocations: 4 kB / 0.6184 GB, free: 12.22 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.253e-05/0.1125, allocations: 11.94 kB / 0.6184 GB, free: 12.21 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.1125, allocations: 3.938 kB / 0.6184 GB, free: 12.2 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.1125, allocations: 3.984 kB / 0.6184 GB, free: 12.2 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 6.034e-05/0.1126, allocations: 7.984 kB / 0.6184 GB, free: 12.19 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1126, allocations: 0 / 0.6184 GB, free: 12.19 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1126, allocations: 0 / 0.6184 GB, free: 12.19 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.1126, allocations: 0 / 0.6184 GB, free: 12.19 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.0002352/0.1128, allocations: 323.5 kB / 0.6187 GB, free: 11.82 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1129, allocations: 12.09 kB / 0.6188 GB, free: 11.81 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.1129, allocations: 0.9375 kB / 0.6188 GB, free: 11.81 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.036e-05/0.113, allocations: 160.4 kB / 0.6189 GB, free: 11.62 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.113, allocations: 8.312 kB / 0.6189 GB, free: 11.61 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.113, allocations: 384 / 0.6189 GB, free: 11.61 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/0.1131, allocations: 34.25 kB / 0.619 GB, free: 11.57 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1131, allocations: 192 / 0.619 GB, free: 11.57 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1131, allocations: 7.938 kB / 0.619 GB, free: 11.56 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1131, allocations: 8 kB / 0.619 GB, free: 11.55 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.1132, allocations: 3.938 kB / 0.619 GB, free: 11.55 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.1133, allocations: 145.7 kB / 0.6191 GB, free: 11.36 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.1133, allocations: 30.53 kB / 0.6191 GB, free: 11.32 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.1134, allocations: 8.922 kB / 0.6191 GB, free: 11.31 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.1136, allocations: 85.09 kB / 0.6192 GB, free: 11.21 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1136, allocations: 34.56 kB / 0.6193 GB, free: 11.16 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1136, allocations: 0 / 0.6193 GB, free: 11.16 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001179/0.1137, allocations: 49.58 kB / 0.6193 GB, free: 11.11 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1138, allocations: 51.41 kB / 0.6194 GB, free: 11.05 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.645e-05/0.1138, allocations: 89.86 kB / 0.6194 GB, free: 10.95 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.1138, allocations: 25.7 kB / 0.6195 GB, free: 10.92 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.1139, allocations: 86.69 kB / 0.6196 GB, free: 10.83 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1139, allocations: 7.906 kB / 0.6196 GB, free: 10.82 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1139, allocations: 17.84 kB / 0.6196 GB, free: 10.8 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.114, allocations: 310.8 kB / 0.6199 GB, free: 10.49 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.114, allocations: 4 kB / 0.6199 GB, free: 10.48 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.114, allocations: 0 / 0.6199 GB, free: 10.48 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.1141, allocations: 12.86 kB / 0.6199 GB, free: 10.47 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1141, allocations: 0 / 0.6199 GB, free: 10.47 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.451e-05/0.1141, allocations: 45.62 kB / 0.6199 GB, free: 10.42 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1141, allocations: 8 kB / 0.6199 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.1141, allocations: 4.094 kB / 0.6199 GB, free: 10.41 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1142, allocations: 3.938 kB / 0.6199 GB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-05/0.1142, allocations: 4 kB / 0.62 GB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1142, allocations: 0 / 0.62 GB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.1142, allocations: 288 / 0.62 GB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.1143, 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 5.186e-05/0.1143, allocations: 109.8 kB / 0.6201 GB, free: 10.28 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1143, allocations: 7.984 kB / 0.6201 GB, free: 10.27 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/0.1144, allocations: 52.64 kB / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1144, allocations: 4 kB / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1144, allocations: 0 / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1144, allocations: 0 / 0.6201 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.847e-05/0.1145, allocations: 145.7 kB / 0.6203 GB, free: 10.02 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1145, allocations: 0 / 0.6203 GB, free: 10.02 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.1145, allocations: 4 kB / 0.6203 GB, free: 10.01 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1145, allocations: 3.938 kB / 0.6203 GB, free: 10.01 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1146, allocations: 7.938 kB / 0.6203 GB, free: 10 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1146, allocations: 7.938 kB / 0.6203 GB, free: 9.992 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1146, allocations: 4.031 kB / 0.6203 GB, free: 9.988 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1148, allocations: 0.6083 MB / 0.6209 GB, free: 9.32 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1149, allocations: 77.11 kB / 0.621 GB, free: 9.227 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1149, allocations: 8 kB / 0.621 GB, free: 9.219 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.1149, allocations: 4 kB / 0.621 GB, free: 9.215 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.1149, allocations: 4.031 kB / 0.621 GB, free: 9.211 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1149, allocations: 0 / 0.621 GB, free: 9.211 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.174e-05/0.115, allocations: 75.28 kB / 0.621 GB, free: 9.137 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.115, allocations: 0 / 0.621 GB, free: 9.137 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002861/0.1152, 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 9.276e-05/0.1153, allocations: 103.2 kB / 0.6211 GB, free: 9.02 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 5.205e-05/0.1154, allocations: 7.938 kB / 0.6211 GB, free: 9.012 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1154, allocations: 0 / 0.6211 GB, free: 9.012 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.1154, allocations: 12.06 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.0001161/0.1155, allocations: 7.938 kB / 0.6212 GB, free: 8.992 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.1158, allocations: 181.5 kB / 0.6213 GB, free: 8.773 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.1159, allocations: 0.6731 MB / 0.622 GB, free: 8.074 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.391e-05/0.116, allocations: 3.984 kB / 0.622 GB, free: 8.07 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.116, allocations: 15.36 kB / 0.622 GB, free: 8.055 MB / 442.8 MB Notification: Performance of SimCode: time 2.31e-07/0.116, allocations: 4.062 kB / 0.622 GB, free: 8.051 MB / 442.8 MB Notification: Performance of Templates: time 0.001688/0.1177, allocations: 272.7 kB / 0.6223 GB, free: 7.785 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches