Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.00186/0.00186, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.002093/0.002093, allocations: 189.4 kB / 18 MB, free: 5.09 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.401/1.401, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9167/0.9167, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 61.97 kB / 0.5719 GB, free: 39.15 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1216, allocations: 80.69 MB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002413/0.124, allocations: 1.39 MB / 0.652 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009248/0.125, allocations: 0.5185 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.125, allocations: 0 / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.1251, allocations: 7.922 kB / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.1254, allocations: 59.73 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.1255, allocations: 35.89 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1258, allocations: 195.4 kB / 0.6528 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.1259, allocations: 4.188 kB / 0.6528 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.126, allocations: 83.8 kB / 0.6529 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1262, allocations: 99.75 kB / 0.653 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.1263, allocations: 8 kB / 0.653 GB, free: 9.684 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1264, allocations: 31.92 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1265, allocations: 63.84 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1266, allocations: 71.64 kB / 0.6532 GB, free: 9.52 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1268, allocations: 143.4 kB / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1268, allocations: 0 / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1269, allocations: 0 / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1269, allocations: 4 kB / 0.6533 GB, free: 9.375 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000904/0.1278, allocations: 478.9 kB / 0.6538 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1278, allocations: 11.89 kB / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.1279, allocations: 50.69 kB / 0.6538 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.1279, allocations: 12.89 kB / 0.6538 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1282, allocations: 215.7 kB / 0.6541 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1282, allocations: 8.234 kB / 0.6541 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.1283, allocations: 20 kB / 0.6541 GB, free: 8.496 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1286, allocations: 175.3 kB / 0.6542 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1287, allocations: 0 / 0.6542 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1287, allocations: 4 kB / 0.6543 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1287, allocations: 4 kB / 0.6543 GB, free: 8.312 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.129, allocations: 148.6 kB / 0.6544 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.1293, allocations: 286.2 kB / 0.6547 GB, free: 7.84 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1304, allocations: 354.8 kB / 0.655 GB, free: 7.484 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.1306, allocations: 120.8 kB / 0.6551 GB, free: 7.363 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.1308, allocations: 93.09 kB / 0.6552 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.1308, allocations: 30.56 kB / 0.6552 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.1308, allocations: 0 / 0.6552 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0007068/0.1315, allocations: 386 kB / 0.6556 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1316, allocations: 55.41 kB / 0.6557 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1317, allocations: 128.8 kB / 0.6558 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1317, allocations: 33.7 kB / 0.6558 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.1318, allocations: 96.69 kB / 0.6559 GB, free: 6.496 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1319, allocations: 115 kB / 0.656 GB, free: 6.383 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.132, allocations: 62.02 kB / 0.6561 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1322, allocations: 326.8 kB / 0.6564 GB, free: 5.984 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1324, allocations: 124.6 kB / 0.6565 GB, free: 5.863 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.1326, allocations: 129.2 kB / 0.6566 GB, free: 5.738 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.1331, allocations: 275 kB / 0.6569 GB, free: 5.469 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1331, allocations: 0 / 0.6569 GB, free: 5.469 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005852/0.1337, allocations: 361.2 kB / 0.6572 GB, free: 5.109 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1337, allocations: 8 kB / 0.6572 GB, free: 5.102 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1337, allocations: 3.938 kB / 0.6573 GB, free: 5.098 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1337, allocations: 4 kB / 0.6573 GB, free: 5.094 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.1341, allocations: 75.89 kB / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1341, allocations: 4 kB / 0.6573 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1342, allocations: 19.84 kB / 0.6573 GB, free: 4.996 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1342, allocations: 12 kB / 0.6574 GB, free: 4.984 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 (39): * Single equations (assignments): 39 * 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.0001356/0.1344, allocations: 143.1 kB / 0.6575 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.1344, allocations: 19.91 kB / 0.6575 GB, free: 4.816 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007197/0.1351, allocations: 395.4 kB / 0.6579 GB, free: 4.418 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.1351, allocations: 7.984 kB / 0.6579 GB, free: 4.41 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1352, allocations: 4 kB / 0.6579 GB, free: 4.406 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.1352, allocations: 0 / 0.6579 GB, free: 4.406 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.1355, allocations: 325.2 kB / 0.6582 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1355, allocations: 4 kB / 0.6582 GB, free: 4.035 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.136, allocations: 79.91 kB / 0.6583 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.136, allocations: 0 / 0.6583 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.136, allocations: 15.98 kB / 0.6583 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.136, allocations: 4 kB / 0.6583 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.136, allocations: 0 / 0.6583 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008664/0.1369, allocations: 0.5298 MB / 0.6588 GB, free: 3.387 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1371, allocations: 124.8 kB / 0.659 GB, free: 3.246 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1371, allocations: 19.98 kB / 0.659 GB, free: 3.227 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1372, allocations: 4 kB / 0.659 GB, free: 3.223 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.1373, allocations: 19.97 kB / 0.659 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1373, allocations: 12 kB / 0.659 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 9.155e-05/0.1374, allocations: 111.2 kB / 0.6591 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1374, allocations: 0 / 0.6591 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002821/0.1377, allocations: 64 kB / 0.6592 GB, free: 3.02 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.001189/0.1389, allocations: 1.083 MB / 0.6602 GB, free: 1.91 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005364/0.1395, allocations: 299.7 kB / 0.6605 GB, free: 1.617 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1395, allocations: 0 / 0.6605 GB, free: 1.617 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.1397, allocations: 172 kB / 0.6607 GB, free: 1.449 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.14, allocations: 27.98 kB / 0.6607 GB, free: 1.422 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.1437, allocations: 2.887 MB / 0.6635 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1441, allocations: 0.7488 MB / 0.6643 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000212/0.1443, allocations: 97.84 kB / 0.6643 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.1444, allocations: 63.42 kB / 0.6644 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of SimCode: time 5.31e-07/0.1445, allocations: 3.938 kB / 0.6644 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.1729, allocations: 5.497 MB / 0.6698 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.378, allocations: 10.77 kB / 0.6698 GB, free: 8.156 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_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_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches