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.001924/0.001924, allocations: 112.6 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.002203/0.002203, allocations: 191.9 kB / 18 MB, free: 5.098 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.46/1.46, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.951/0.951, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 66.86 kB / 0.5718 GB, free: 39.23 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1175, allocations: 80.68 MB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002492/0.1201, allocations: 1.461 MB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002818/0.1204, allocations: 90.02 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.1204, allocations: 4 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.712e-05/0.1205, allocations: 7.922 kB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1207, allocations: 63.7 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.1209, allocations: 43.86 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.1216, allocations: 0.6278 MB / 0.6529 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1216, allocations: 8 kB / 0.6529 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1219, allocations: 243.6 kB / 0.6531 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.1224, allocations: 287.4 kB / 0.6534 GB, free: 9.32 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.1225, allocations: 35.98 kB / 0.6534 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.1226, allocations: 28 kB / 0.6534 GB, free: 9.258 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1228, allocations: 179.6 kB / 0.6536 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.123, allocations: 203.2 kB / 0.6538 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.1234, allocations: 326.8 kB / 0.6541 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1234, allocations: 4 kB / 0.6541 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1234, allocations: 0 / 0.6541 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.1234, allocations: 0 / 0.6541 GB, free: 8.559 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.002496/0.1259, allocations: 0.8618 MB / 0.655 GB, free: 7.641 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.126, allocations: 15.89 kB / 0.655 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.04e-05/0.1261, allocations: 62.72 kB / 0.655 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.24e-05/0.1262, allocations: 32.8 kB / 0.6551 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.1265, allocations: 260 kB / 0.6553 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1266, allocations: 24.94 kB / 0.6553 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.1267, allocations: 60.25 kB / 0.6554 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.1275, allocations: 449.1 kB / 0.6558 GB, free: 6.703 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1275, allocations: 3.938 kB / 0.6558 GB, free: 6.699 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.1276, allocations: 8 kB / 0.6558 GB, free: 6.691 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1276, allocations: 11.98 kB / 0.6558 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.1283, allocations: 374 kB / 0.6562 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.1318, allocations: 2.156 MB / 0.6583 GB, free: 3.887 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.1327, allocations: 476.1 kB / 0.6588 GB, free: 3.414 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.1333, allocations: 321.9 kB / 0.6591 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.1334, allocations: 8.375 kB / 0.6591 GB, free: 3.086 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1334, allocations: 39 kB / 0.6591 GB, free: 3.039 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.873e-06/0.1334, allocations: 0 / 0.6591 GB, free: 3.039 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001663/0.1351, allocations: 0.8046 MB / 0.6599 GB, free: 2.23 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1351, allocations: 63.84 kB / 0.66 GB, free: 2.156 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1353, allocations: 137.1 kB / 0.6601 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.1353, allocations: 37.7 kB / 0.6601 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.1354, allocations: 125.2 kB / 0.6602 GB, free: 1.844 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.1356, allocations: 206.2 kB / 0.6604 GB, free: 1.641 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.1359, allocations: 122.3 kB / 0.6606 GB, free: 1.516 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.136, allocations: 338.8 kB / 0.6609 GB, free: 1.176 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.1366, allocations: 273.1 kB / 0.6611 GB, free: 0.9062 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.1371, allocations: 336.7 kB / 0.6615 GB, free: 0.5703 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1382, allocations: 0.6077 MB / 0.6621 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1382, allocations: 0 / 0.6621 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001351/0.1396, allocations: 0.7274 MB / 0.6628 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1396, allocations: 4 kB / 0.6628 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1396, allocations: 32 / 0.6628 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1397, allocations: 11.98 kB / 0.6628 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.1408, allocations: 255.7 kB / 0.663 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1409, allocations: 7.984 kB / 0.663 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.1413, allocations: 51.66 kB / 0.6631 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.1413, allocations: 20 kB / 0.6631 GB, free: 14.88 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.0002018/0.1415, allocations: 166.5 kB / 0.6633 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.1416, allocations: 27.8 kB / 0.6633 GB, free: 14.68 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1419, allocations: 74.28 kB / 0.6634 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1419, allocations: 4 kB / 0.6634 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1419, allocations: 0 / 0.6634 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1419, allocations: 3.984 kB / 0.6634 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.1426, allocations: 473.5 kB / 0.6638 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1426, allocations: 3.938 kB / 0.6638 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.144, allocations: 259.7 kB / 0.6641 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.1441, allocations: 4 kB / 0.6641 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.1441, allocations: 19.98 kB / 0.6641 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1441, allocations: 0 / 0.6641 GB, free: 13.8 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1442, allocations: 8 kB / 0.6641 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.1459, allocations: 0.9978 MB / 0.6651 GB, free: 12.78 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.146, allocations: 108.8 kB / 0.6652 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.1461, allocations: 19.98 kB / 0.6652 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.1465, allocations: 27.97 kB / 0.6652 GB, free: 12.61 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1466, allocations: 24.39 kB / 0.6652 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.1467, allocations: 23.94 kB / 0.6653 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.11e-05/0.1467, allocations: 99.27 kB / 0.6654 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1467, allocations: 0 / 0.6654 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004398/0.1472, allocations: 148 kB / 0.6655 GB, free: 12.32 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.002103/0.1493, allocations: 1.578 MB / 0.667 GB, free: 10.71 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.1505, allocations: 0.6309 MB / 0.6677 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1505, allocations: 4 kB / 0.6677 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.1511, allocations: 318.3 kB / 0.668 GB, free: 9.77 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.1515, allocations: 64.02 kB / 0.668 GB, free: 9.707 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008369/0.1599, allocations: 5.921 MB / 0.6738 GB, free: 3.703 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.1604, allocations: 0.7995 MB / 0.6746 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0005259/0.1609, allocations: 186.8 kB / 0.6748 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.1612, allocations: 91.41 kB / 0.6749 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of SimCode: time 3.51e-07/0.1612, allocations: 0 / 0.6749 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.1954, allocations: 9.163 MB / 0.6838 GB, free: 9.68 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.683, allocations: 4.938 kB / 0.6838 GB, free: 9.676 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