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.001488/0.001488, allocations: 113.8 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.001499/0.001499, allocations: 189.4 kB / 18 MB, free: 5.086 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.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9628/0.9628, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 70.23 kB / 0.5719 GB, free: 39.24 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1304, allocations: 80.69 MB / 0.6507 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00249/0.133, allocations: 1.386 MB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000954/0.1339, allocations: 0.5107 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.134, allocations: 4 kB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.914e-05/0.1341, allocations: 7.922 kB / 0.6526 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1344, allocations: 55.75 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.1345, allocations: 39.81 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.1349, allocations: 319.4 kB / 0.6529 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.135, allocations: 8.172 kB / 0.653 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1351, allocations: 115.8 kB / 0.6531 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1354, allocations: 155.6 kB / 0.6532 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.1355, allocations: 20 kB / 0.6532 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1356, allocations: 39.97 kB / 0.6533 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.1358, allocations: 119.7 kB / 0.6534 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1359, allocations: 123.4 kB / 0.6535 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1362, allocations: 242.9 kB / 0.6537 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1363, allocations: 4 kB / 0.6537 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1363, allocations: 0 / 0.6537 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1363, allocations: 4 kB / 0.6537 GB, free: 8.973 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.001194/0.1375, allocations: 0.5807 MB / 0.6543 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1375, allocations: 15.89 kB / 0.6543 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.1376, allocations: 58.73 kB / 0.6544 GB, free: 8.262 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.1377, allocations: 28.75 kB / 0.6544 GB, free: 8.234 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.138, allocations: 257.9 kB / 0.6547 GB, free: 7.945 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.138, allocations: 20.44 kB / 0.6547 GB, free: 7.926 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.1381, allocations: 35.94 kB / 0.6547 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.1387, allocations: 315.1 kB / 0.655 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1387, allocations: 0 / 0.655 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1387, allocations: 8 kB / 0.655 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1387, allocations: 8 kB / 0.655 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.1392, allocations: 285.5 kB / 0.6553 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.1397, allocations: 403.2 kB / 0.6557 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.1416, allocations: 0.674 MB / 0.6563 GB, free: 6.156 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.142, allocations: 238 kB / 0.6566 GB, free: 5.922 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.1422, allocations: 89.53 kB / 0.6567 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1422, allocations: 42.98 kB / 0.6567 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.743e-06/0.1422, allocations: 0 / 0.6567 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001266/0.1435, allocations: 0.696 MB / 0.6574 GB, free: 5.059 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1436, allocations: 55.84 kB / 0.6574 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1437, allocations: 153.4 kB / 0.6576 GB, free: 4.828 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1438, allocations: 33.7 kB / 0.6576 GB, free: 4.789 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.1438, allocations: 109.1 kB / 0.6577 GB, free: 4.676 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.144, allocations: 214.2 kB / 0.6579 GB, free: 4.465 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1442, allocations: 106.3 kB / 0.658 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1444, allocations: 342.8 kB / 0.6583 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.1448, allocations: 237.1 kB / 0.6586 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.1452, allocations: 249.7 kB / 0.6588 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.146, allocations: 0.5282 MB / 0.6593 GB, free: 3.004 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1461, allocations: 0 / 0.6593 GB, free: 3.004 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001066/0.1471, allocations: 0.6493 MB / 0.66 GB, free: 2.348 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1472, allocations: 8 kB / 0.66 GB, free: 2.34 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1472, allocations: 0 / 0.66 GB, free: 2.34 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1472, allocations: 7.938 kB / 0.66 GB, free: 2.332 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.1478, allocations: 135.8 kB / 0.6601 GB, free: 2.199 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1478, allocations: 7.984 kB / 0.6601 GB, free: 2.191 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.148, allocations: 43.62 kB / 0.6602 GB, free: 2.148 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.1481, allocations: 19.98 kB / 0.6602 GB, free: 2.129 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.000183/0.1483, allocations: 162.6 kB / 0.6603 GB, free: 1.961 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.1483, allocations: 31.8 kB / 0.6604 GB, free: 1.93 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.1496, allocations: 0.7205 MB / 0.6611 GB, free: 1.207 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1496, allocations: 11.94 kB / 0.6611 GB, free: 1.195 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1497, allocations: 0 / 0.6611 GB, free: 1.195 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1497, allocations: 7.984 kB / 0.6611 GB, free: 1.188 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.1502, allocations: 453.8 kB / 0.6615 GB, free: 0.6953 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1502, allocations: 0 / 0.6615 GB, free: 0.6953 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.151, allocations: 159.8 kB / 0.6617 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.151, allocations: 0 / 0.6617 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.1511, allocations: 27.98 kB / 0.6617 GB, free: 0.5117 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.1511, allocations: 7.938 kB / 0.6617 GB, free: 0.5039 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1511, allocations: 4 kB / 0.6617 GB, free: 0.5 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1526, allocations: 0.9712 MB / 0.6626 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.1529, allocations: 176.5 kB / 0.6628 GB, free: 15.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.1529, allocations: 19.98 kB / 0.6628 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.1531, allocations: 16 kB / 0.6629 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.1532, allocations: 40.59 kB / 0.6629 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.1533, allocations: 20 kB / 0.6629 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 9.524e-05/0.1534, allocations: 119.2 kB / 0.663 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1534, allocations: 0 / 0.663 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003518/0.1537, allocations: 120 kB / 0.6631 GB, free: 14.98 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.001904/0.1556, allocations: 1.542 MB / 0.6646 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.1567, allocations: 0.5911 MB / 0.6652 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1567, allocations: 0 / 0.6652 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.1572, allocations: 331.5 kB / 0.6655 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1575, allocations: 56.16 kB / 0.6656 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.1636, allocations: 4.514 MB / 0.67 GB, free: 7.848 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1641, allocations: 0.809 MB / 0.6708 GB, free: 7.016 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004093/0.1645, allocations: 175.1 kB / 0.671 GB, free: 6.844 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.1648, allocations: 123.4 kB / 0.6711 GB, free: 6.723 MB / 0.5139 GB Notification: Performance of SimCode: time 6.22e-07/0.1648, allocations: 0 / 0.6711 GB, free: 6.723 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.1991, allocations: 9.166 MB / 0.68 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.553, allocations: 7.531 kB / 0.68 GB, free: 13.74 MB / 0.5295 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