Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_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.001567/0.001567, allocations: 103.8 kB / 17.06 MB, free: 6.016 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.001718/0.001718, allocations: 191 kB / 18 MB, free: 5.094 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.319/1.319, 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.8316/0.8316, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 61.91 kB / 0.5718 GB, free: 39.25 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1103, allocations: 80.69 MB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002142/0.1125, allocations: 1.449 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002786/0.1128, allocations: 98.05 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.1128, allocations: 0 / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.207e-05/0.1129, allocations: 15.86 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.113, allocations: 67.7 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.1132, allocations: 31.92 kB / 0.6522 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000541/0.1138, allocations: 0.6278 MB / 0.6529 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.1138, allocations: 12 kB / 0.6529 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.1141, allocations: 243.6 kB / 0.6531 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.1145, allocations: 291.3 kB / 0.6534 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.1146, allocations: 28 kB / 0.6534 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.1146, allocations: 32 kB / 0.6534 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.1148, allocations: 179.6 kB / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.115, allocations: 207.2 kB / 0.6538 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1153, allocations: 324.8 kB / 0.6541 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1153, allocations: 0 / 0.6541 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.584e-06/0.1154, allocations: 0 / 0.6541 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.1154, allocations: 7.922 kB / 0.6541 GB, free: 8.566 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.002329/0.1177, allocations: 0.858 MB / 0.655 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1177, allocations: 11.89 kB / 0.655 GB, free: 7.641 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.573e-05/0.1178, allocations: 66.72 kB / 0.655 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.1179, allocations: 32.8 kB / 0.6551 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1183, allocations: 259.9 kB / 0.6553 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.1183, allocations: 28.94 kB / 0.6553 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.1184, allocations: 56.31 kB / 0.6554 GB, free: 7.16 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.1192, allocations: 445.1 kB / 0.6558 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1192, allocations: 7.875 kB / 0.6558 GB, free: 6.711 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.1193, allocations: 12 kB / 0.6558 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.1193, allocations: 8 kB / 0.6558 GB, free: 6.691 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/0.1199, allocations: 377.9 kB / 0.6562 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.1231, allocations: 2.148 MB / 0.6583 GB, free: 3.902 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008196/0.1239, allocations: 476.1 kB / 0.6588 GB, free: 3.43 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.1244, allocations: 322 kB / 0.6591 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.1244, allocations: 12.38 kB / 0.6591 GB, free: 3.098 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1245, allocations: 38.94 kB / 0.6591 GB, free: 3.051 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.552e-06/0.1245, allocations: 0 / 0.6591 GB, free: 3.051 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.00148/0.126, allocations: 0.8008 MB / 0.6599 GB, free: 2.246 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.126, allocations: 59.84 kB / 0.66 GB, free: 2.176 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1261, allocations: 141.1 kB / 0.6601 GB, free: 2.031 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.1262, allocations: 33.7 kB / 0.6601 GB, free: 1.992 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1262, allocations: 121.2 kB / 0.6602 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.1264, allocations: 214.2 kB / 0.6604 GB, free: 1.656 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1266, allocations: 114.3 kB / 0.6605 GB, free: 1.539 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1267, allocations: 342.8 kB / 0.6609 GB, free: 1.195 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.1272, allocations: 277.1 kB / 0.6611 GB, free: 0.9219 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.1277, allocations: 340.7 kB / 0.6615 GB, free: 0.582 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009922/0.1287, allocations: 0.6038 MB / 0.6621 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1287, allocations: 0 / 0.6621 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001194/0.1299, allocations: 0.7273 MB / 0.6628 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1299, allocations: 4 kB / 0.6628 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.13, allocations: 4 kB / 0.6628 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.13, allocations: 4.031 kB / 0.6628 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.1311, allocations: 259.7 kB / 0.663 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.1312, allocations: 4 kB / 0.663 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.1316, allocations: 51.64 kB / 0.6631 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.1316, allocations: 24 kB / 0.6631 GB, free: 14.89 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.0001758/0.1318, allocations: 162.5 kB / 0.6633 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.1319, allocations: 27.8 kB / 0.6633 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.1321, allocations: 82.28 kB / 0.6634 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1321, allocations: 4 kB / 0.6634 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1321, allocations: 0 / 0.6634 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1321, allocations: 3.984 kB / 0.6634 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.1327, allocations: 465.5 kB / 0.6638 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1327, allocations: 3.938 kB / 0.6638 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.1341, allocations: 255.8 kB / 0.6641 GB, free: 13.85 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1342, allocations: 3.984 kB / 0.6641 GB, free: 13.84 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/0.1342, allocations: 23.98 kB / 0.6641 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1342, allocations: 0 / 0.6641 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1342, allocations: 7.938 kB / 0.6641 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.1358, allocations: 1.009 MB / 0.6651 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1359, allocations: 108.8 kB / 0.6652 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.1359, allocations: 19.98 kB / 0.6652 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.1364, allocations: 23.97 kB / 0.6652 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.1365, allocations: 32.39 kB / 0.6653 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.1365, allocations: 12 kB / 0.6653 GB, free: 12.58 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.1366, allocations: 99.27 kB / 0.6654 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1366, allocations: 0 / 0.6654 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004131/0.137, allocations: 152 kB / 0.6655 GB, free: 12.33 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.001821/0.1388, allocations: 1.574 MB / 0.667 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.1399, allocations: 0.6309 MB / 0.6677 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1399, allocations: 0 / 0.6677 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.1404, allocations: 318.3 kB / 0.668 GB, free: 9.789 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1409, allocations: 68 kB / 0.668 GB, free: 9.723 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/0.1481, allocations: 5.924 MB / 0.6738 GB, free: 3.715 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1484, allocations: 0.7995 MB / 0.6746 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.1489, allocations: 182.8 kB / 0.6748 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.1492, allocations: 95.41 kB / 0.6749 GB, free: 2.617 MB / 0.5139 GB Notification: Performance of SimCode: time 2.465e-06/0.1492, allocations: 0 / 0.6749 GB, free: 2.617 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.1739, allocations: 9.154 MB / 0.6838 GB, free: 9.695 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.114, allocations: 0.875 kB / 0.6838 GB, free: 9.695 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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_CounterCurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches