Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",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.00168/0.00168, allocations: 112.8 kB / 17.06 MB, free: 5.773 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.001952/0.001952, allocations: 200 kB / 18.01 MB, free: 4.914 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8314/0.8314, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 61.69 kB / 0.5719 GB, free: 39.34 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 80.69 MB / 0.6507 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002187/0.1229, allocations: 1.394 MB / 0.652 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.1237, allocations: 0.5107 MB / 0.6525 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.1238, allocations: 4 kB / 0.6525 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.14e-05/0.1238, allocations: 7.938 kB / 0.6526 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1241, allocations: 59.72 kB / 0.6526 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.1243, allocations: 31.89 kB / 0.6526 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1245, allocations: 323.3 kB / 0.6529 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.1246, allocations: 12.17 kB / 0.653 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1248, allocations: 115.8 kB / 0.6531 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.125, allocations: 151.7 kB / 0.6532 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.125, allocations: 23.94 kB / 0.6532 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1252, allocations: 35.97 kB / 0.6533 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1253, allocations: 119.7 kB / 0.6534 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1254, allocations: 127.4 kB / 0.6535 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1257, allocations: 239 kB / 0.6537 GB, free: 9.062 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1257, allocations: 3.984 kB / 0.6537 GB, free: 9.059 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1257, allocations: 8 kB / 0.6537 GB, free: 9.051 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.1257, allocations: 0 / 0.6537 GB, free: 9.051 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001058/0.1268, allocations: 0.5769 MB / 0.6543 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1268, allocations: 15.89 kB / 0.6543 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.1269, allocations: 58.72 kB / 0.6544 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.127, allocations: 28.75 kB / 0.6544 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1273, allocations: 258 kB / 0.6547 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1273, allocations: 16.44 kB / 0.6547 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.1274, allocations: 35.94 kB / 0.6547 GB, free: 7.977 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.1278, allocations: 319 kB / 0.655 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1279, allocations: 4 kB / 0.655 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1279, allocations: 7.984 kB / 0.655 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.1279, allocations: 8 kB / 0.655 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.1283, allocations: 285.5 kB / 0.6553 GB, free: 7.359 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1288, allocations: 395.4 kB / 0.6557 GB, free: 6.922 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.1305, allocations: 0.6782 MB / 0.6563 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.1308, allocations: 238 kB / 0.6566 GB, free: 6.004 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.131, allocations: 97.52 kB / 0.6567 GB, free: 5.891 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.131, allocations: 39 kB / 0.6567 GB, free: 5.844 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.803e-06/0.131, allocations: 0 / 0.6567 GB, free: 5.844 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001088/0.1321, allocations: 0.6918 MB / 0.6574 GB, free: 5.141 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1321, allocations: 59.83 kB / 0.6574 GB, free: 5.07 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1323, allocations: 149.2 kB / 0.6576 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1323, allocations: 33.7 kB / 0.6576 GB, free: 4.871 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1324, allocations: 105.1 kB / 0.6577 GB, free: 4.762 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.1325, allocations: 218.2 kB / 0.6579 GB, free: 4.547 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1327, allocations: 102.3 kB / 0.658 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1328, allocations: 346.8 kB / 0.6583 GB, free: 4.094 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.1331, allocations: 241.1 kB / 0.6586 GB, free: 3.859 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.1335, allocations: 245.7 kB / 0.6588 GB, free: 3.617 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.1342, allocations: 0.5282 MB / 0.6593 GB, free: 3.086 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1342, allocations: 4 kB / 0.6593 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008926/0.1351, allocations: 0.6415 MB / 0.66 GB, free: 2.434 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1352, allocations: 10.97 kB / 0.66 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1352, allocations: 0 / 0.66 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1352, allocations: 7.938 kB / 0.66 GB, free: 2.418 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.1357, allocations: 139.8 kB / 0.6601 GB, free: 2.281 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1358, allocations: 4 kB / 0.6601 GB, free: 2.277 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.136, allocations: 47.61 kB / 0.6602 GB, free: 2.23 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.136, allocations: 16 kB / 0.6602 GB, free: 2.215 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 (74): * Single equations (assignments): 74 * 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 0.0001536/0.1362, allocations: 166.5 kB / 0.6603 GB, free: 2.043 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.1362, allocations: 27.86 kB / 0.6604 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.1373, allocations: 0.7283 MB / 0.6611 GB, free: 1.285 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.1373, allocations: 11.94 kB / 0.6611 GB, free: 1.273 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1374, allocations: 3.984 kB / 0.6611 GB, free: 1.27 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1374, allocations: 0 / 0.6611 GB, free: 1.27 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.1378, allocations: 465.7 kB / 0.6615 GB, free: 0.7656 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1378, allocations: 0 / 0.6615 GB, free: 0.7656 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/0.1386, allocations: 151.9 kB / 0.6617 GB, free: 0.6172 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1386, allocations: 3.938 kB / 0.6617 GB, free: 0.6133 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.1387, allocations: 27.97 kB / 0.6617 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1387, allocations: 11.94 kB / 0.6617 GB, free: 0.5742 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1387, allocations: 0 / 0.6617 GB, free: 0.5742 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.14, allocations: 0.9596 MB / 0.6626 GB, free: 15.59 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.1402, allocations: 176.6 kB / 0.6628 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.1403, allocations: 19.98 kB / 0.6628 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1405, allocations: 16 kB / 0.6629 GB, free: 15.36 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.1406, allocations: 48.53 kB / 0.6629 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.1406, allocations: 23.98 kB / 0.6629 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.1407, allocations: 119.2 kB / 0.663 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1407, allocations: 0 / 0.663 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003419/0.141, allocations: 116 kB / 0.6631 GB, free: 15.06 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.001613/0.1426, allocations: 1.543 MB / 0.6647 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008581/0.1435, allocations: 0.5833 MB / 0.6652 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1435, allocations: 4 kB / 0.6652 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.1439, allocations: 327.6 kB / 0.6655 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1443, allocations: 55.16 kB / 0.6656 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.1494, allocations: 4.526 MB / 0.67 GB, free: 7.926 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1497, allocations: 0.809 MB / 0.6708 GB, free: 7.094 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003594/0.1501, allocations: 171.1 kB / 0.671 GB, free: 6.926 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.1503, allocations: 123.4 kB / 0.6711 GB, free: 6.805 MB / 0.5139 GB Notification: Performance of SimCode: time 4.5e-07/0.1503, allocations: 0 / 0.6711 GB, free: 6.805 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1763, allocations: 9.154 MB / 0.68 GB, free: 13.84 MB / 0.5296 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/7.951, allocations: 11.47 kB / 0.68 GB, free: 13.83 MB / 0.5296 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.csv --start-time 0 --stop-time 432000 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 20 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches