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/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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 110.2 kB / 17.06 MB, free: 5.973 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.001262/0.001262, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9036/0.9036, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 65.83 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.123, allocations: 80.69 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001636/0.1247, allocations: 400.6 kB / 0.6496 GB, free: 13.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.1249, allocations: 31.88 kB / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.125, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.125, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.1251, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.1252, allocations: 8 kB / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.1253, allocations: 15.84 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.1254, allocations: 4 kB / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.1254, allocations: 0 / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.1254, allocations: 0 / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1255, allocations: 7.938 kB / 0.6497 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.1255, allocations: 11.98 kB / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.1255, allocations: 0 / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1256, allocations: 4 kB / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.468e-05/0.1257, allocations: 7.938 kB / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1257, allocations: 0 / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1257, allocations: 0 / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1257, allocations: 0 / 0.6497 GB, free: 13.12 MB / 0.4983 GB 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.0003872/0.1261, allocations: 315.8 kB / 0.65 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1261, allocations: 19.89 kB / 0.65 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.1262, allocations: 34.75 kB / 0.65 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1262, allocations: 4.891 kB / 0.65 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1264, allocations: 164.4 kB / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1264, allocations: 384 / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1264, allocations: 384 / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1265, allocations: 34.2 kB / 0.6502 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1265, allocations: 3.938 kB / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1266, allocations: 0 / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1266, allocations: 0 / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.1266, allocations: 12 kB / 0.6502 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.1268, allocations: 149.7 kB / 0.6504 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.1269, allocations: 22.61 kB / 0.6504 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.1269, allocations: 8.922 kB / 0.6504 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.1271, allocations: 89.08 kB / 0.6505 GB, free: 12.1 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1272, allocations: 34.5 kB / 0.6505 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1272, allocations: 4 kB / 0.6505 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001574/0.1274, allocations: 45.62 kB / 0.6506 GB, free: 12 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1274, allocations: 55.41 kB / 0.6506 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.1275, allocations: 89.86 kB / 0.6507 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1275, allocations: 25.7 kB / 0.6507 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.1275, allocations: 80.14 kB / 0.6508 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1276, allocations: 3.953 kB / 0.6508 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1276, allocations: 17.72 kB / 0.6508 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1277, allocations: 315 kB / 0.6511 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.1278, allocations: 0 / 0.6511 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.1278, allocations: 7.984 kB / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.1278, allocations: 16.8 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1278, allocations: 0 / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.499e-05/0.1279, allocations: 33.7 kB / 0.6512 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1279, allocations: 11.22 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1279, allocations: 8.031 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.128, allocations: 4 kB / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.128, allocations: 3.938 kB / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.128, allocations: 7.984 kB / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.1281, allocations: 3.984 kB / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1281, allocations: 0 / 0.6512 GB, free: 11.28 MB / 0.4983 GB 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.825e-05/0.1282, allocations: 110.7 kB / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.1282, allocations: 0 / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1283, allocations: 60.67 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1283, allocations: 4 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1283, allocations: 0 / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1283, allocations: 0 / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1284, allocations: 145.6 kB / 0.6515 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1284, allocations: 0 / 0.6515 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.1285, allocations: 4 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1285, allocations: 0 / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1285, allocations: 11.92 kB / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1285, allocations: 0 / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1285, allocations: 4 kB / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.545e-05/0.1286, allocations: 65.11 kB / 0.6516 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1286, allocations: 77.11 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1287, allocations: 7.922 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/0.1287, allocations: 4 kB / 0.6517 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1287, allocations: 4 kB / 0.6517 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1287, allocations: 0 / 0.6517 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.1288, allocations: 75.28 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1288, allocations: 4.031 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001885/0.129, allocations: 4 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB 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.0003935/0.1294, allocations: 0.5973 MB / 0.6524 GB, free: 9.977 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.1294, allocations: 11.94 kB / 0.6524 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1295, allocations: 4.094 kB / 0.6524 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.1295, allocations: 4 kB / 0.6524 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1296, allocations: 4 kB / 0.6524 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.1299, allocations: 118.5 kB / 0.6525 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1302, allocations: 0.6766 MB / 0.6532 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.1303, allocations: 4 kB / 0.6532 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.1303, allocations: 11.5 kB / 0.6532 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.1303, allocations: 0 / 0.6532 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.1514, allocations: 1.033 MB / 0.6542 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/7.934, allocations: 8 kB / 0.6542 GB, free: 8.176 MB / 0.4983 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches