Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.001269/0.001269, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001259/0.001259, allocations: 200 kB / 18.01 MB, free: 5.047 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.3/1.3, 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.7995/0.7995, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.27 kB / 0.5718 GB, free: 39.19 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1122, allocations: 80.7 MB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002222/0.1145, allocations: 1.449 MB / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.1148, allocations: 98.06 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.1149, allocations: 0 / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.115, allocations: 19.84 kB / 0.6522 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.1151, allocations: 51.73 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.1153, allocations: 35.92 kB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.1158, allocations: 0.5692 MB / 0.6528 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.1159, allocations: 16 kB / 0.6528 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1161, allocations: 207.7 kB / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.1165, allocations: 279.3 kB / 0.6533 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.332e-05/0.1166, allocations: 35.94 kB / 0.6533 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.1167, allocations: 28 kB / 0.6533 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1169, allocations: 179.6 kB / 0.6535 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.1171, allocations: 199.2 kB / 0.6537 GB, free: 8.973 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1174, allocations: 330.8 kB / 0.654 GB, free: 8.648 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1174, allocations: 0 / 0.654 GB, free: 8.648 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.555e-06/0.1174, allocations: 0 / 0.654 GB, free: 8.648 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.1174, allocations: 7.938 kB / 0.654 GB, free: 8.641 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002255/0.1197, allocations: 0.8502 MB / 0.6548 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1197, allocations: 16.03 kB / 0.6549 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.04e-05/0.1198, allocations: 66.72 kB / 0.6549 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.1199, allocations: 28.8 kB / 0.655 GB, free: 7.617 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1203, allocations: 271.9 kB / 0.6552 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1203, allocations: 24.94 kB / 0.6552 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.1204, allocations: 52.31 kB / 0.6553 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.1212, allocations: 441.1 kB / 0.6557 GB, free: 6.801 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1212, allocations: 7.922 kB / 0.6557 GB, free: 6.793 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.1212, allocations: 12 kB / 0.6557 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1212, allocations: 8 kB / 0.6557 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.1219, allocations: 377.9 kB / 0.6561 GB, free: 6.402 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.1249, allocations: 2.152 MB / 0.6582 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/0.1257, allocations: 472.1 kB / 0.6586 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.1262, allocations: 330 kB / 0.659 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.1263, allocations: 12.31 kB / 0.659 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1263, allocations: 47 kB / 0.659 GB, free: 3.117 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.225e-06/0.1263, allocations: 0 / 0.659 GB, free: 3.117 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001457/0.1278, allocations: 0.8047 MB / 0.6598 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1279, allocations: 59.84 kB / 0.6599 GB, free: 2.238 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.128, allocations: 133.8 kB / 0.66 GB, free: 2.098 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.128, allocations: 41.7 kB / 0.66 GB, free: 2.051 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.1281, allocations: 121.2 kB / 0.6601 GB, free: 1.926 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.1283, allocations: 214.2 kB / 0.6603 GB, free: 1.715 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.1284, allocations: 114.3 kB / 0.6605 GB, free: 1.598 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.1286, allocations: 342.8 kB / 0.6608 GB, free: 1.254 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.129, allocations: 281.1 kB / 0.6611 GB, free: 0.9766 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.1295, allocations: 328.7 kB / 0.6614 GB, free: 0.6484 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009545/0.1305, allocations: 0.6195 MB / 0.662 GB, free: 24 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1305, allocations: 0 / 0.662 GB, free: 24 kB / 0.4983 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001176/0.1317, allocations: 0.7273 MB / 0.6627 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1317, allocations: 4 kB / 0.6627 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1317, allocations: 4 kB / 0.6627 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1317, allocations: 0 / 0.6627 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.1329, allocations: 263.7 kB / 0.6629 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1329, allocations: 4 kB / 0.6629 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.1333, allocations: 59.67 kB / 0.663 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.1334, allocations: 23.98 kB / 0.663 GB, free: 14.94 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (77): * Single equations (assignments): 77 * 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.0001741/0.1335, allocations: 162.5 kB / 0.6632 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.1336, allocations: 27.8 kB / 0.6632 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.1338, allocations: 74.28 kB / 0.6633 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1338, allocations: 8 kB / 0.6633 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1338, allocations: 0 / 0.6633 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1339, allocations: 3.984 kB / 0.6633 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.1344, allocations: 465.5 kB / 0.6637 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1344, allocations: 7.938 kB / 0.6637 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.1359, allocations: 255.8 kB / 0.664 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1359, allocations: 3.984 kB / 0.664 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.1359, allocations: 19.98 kB / 0.664 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.136, allocations: 4 kB / 0.664 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.136, allocations: 0 / 0.664 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.1375, allocations: 1.013 MB / 0.665 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1376, allocations: 108.8 kB / 0.6651 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.1377, allocations: 19.98 kB / 0.6651 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.1381, allocations: 23.97 kB / 0.6651 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1382, allocations: 28.39 kB / 0.6652 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.1382, allocations: 12 kB / 0.6652 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.1383, allocations: 99.27 kB / 0.6653 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1383, allocations: 0 / 0.6653 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004095/0.1387, allocations: 148 kB / 0.6654 GB, free: 12.39 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.001774/0.1405, allocations: 1.578 MB / 0.667 GB, free: 10.78 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.1415, allocations: 0.6348 MB / 0.6676 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1415, allocations: 4.062 kB / 0.6676 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.142, allocations: 322.3 kB / 0.6679 GB, free: 9.828 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.1424, allocations: 71.89 kB / 0.668 GB, free: 9.758 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006855/0.1493, allocations: 5.889 MB / 0.6737 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1496, allocations: 0.7995 MB / 0.6745 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004597/0.1501, allocations: 174.8 kB / 0.6747 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.1504, allocations: 91.41 kB / 0.6747 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of SimCode: time 1.513e-06/0.1504, allocations: 0 / 0.6747 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.1762, allocations: 9.146 MB / 0.6837 GB, free: 9.785 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/7.884, allocations: 18.94 kB / 0.6837 GB, free: 9.773 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.008 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches