Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",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.001915/0.001915, allocations: 109.5 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.002153/0.002153, 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.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9377/0.9377, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 62.66 kB / 0.5718 GB, free: 39.23 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1176, allocations: 80.7 MB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002454/0.1201, allocations: 1.463 MB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.1204, allocations: 103.6 kB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.1205, allocations: 0 / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.1206, allocations: 15.92 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1207, allocations: 55.72 kB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1209, allocations: 31.88 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.1222, allocations: 1.221 MB / 0.6535 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.1222, allocations: 15.98 kB / 0.6535 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.1227, allocations: 463.4 kB / 0.6539 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008563/0.1236, allocations: 0.538 MB / 0.6544 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.1237, allocations: 64 kB / 0.6545 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1239, allocations: 63.94 kB / 0.6546 GB, free: 8.082 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.1243, allocations: 375.1 kB / 0.6549 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.1248, allocations: 390.6 kB / 0.6553 GB, free: 7.332 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.1255, allocations: 0.65 MB / 0.6559 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1255, allocations: 0 / 0.6559 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1255, allocations: 4 kB / 0.6559 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.1255, allocations: 0 / 0.6559 GB, free: 6.676 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004623/0.1301, allocations: 1.436 MB / 0.6573 GB, free: 5.184 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1302, allocations: 15.89 kB / 0.6574 GB, free: 5.168 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.1303, allocations: 94.7 kB / 0.6574 GB, free: 5.066 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1305, allocations: 64.61 kB / 0.6575 GB, free: 5.004 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.131, allocations: 359.6 kB / 0.6578 GB, free: 4.613 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.1311, allocations: 57.69 kB / 0.6579 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.1313, allocations: 108.2 kB / 0.658 GB, free: 4.453 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1328, allocations: 0.8811 MB / 0.6589 GB, free: 3.562 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.1329, allocations: 3.938 kB / 0.6589 GB, free: 3.559 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/0.133, allocations: 27.94 kB / 0.6589 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.133, allocations: 15.94 kB / 0.6589 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.1344, allocations: 0.7625 MB / 0.6597 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006701/0.1411, allocations: 4.31 MB / 0.6639 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.1428, allocations: 0.9766 MB / 0.6648 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.1439, allocations: 0.6602 MB / 0.6655 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.1441, allocations: 13 kB / 0.6655 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1441, allocations: 51.5 kB / 0.6655 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 2.074e-06/0.1441, allocations: 0 / 0.6655 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.003172/0.1473, allocations: 1.652 MB / 0.6671 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1473, allocations: 60.41 kB / 0.6672 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1475, allocations: 145 kB / 0.6673 GB, free: 10.32 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.1476, allocations: 49.7 kB / 0.6674 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1477, allocations: 158 kB / 0.6675 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/0.1481, allocations: 436.3 kB / 0.6679 GB, free: 9.68 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.1485, allocations: 219 kB / 0.6682 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.1487, allocations: 366.8 kB / 0.6685 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.1497, allocations: 0.5725 MB / 0.6691 GB, free: 8.52 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.1509, allocations: 0.6638 MB / 0.6697 GB, free: 7.852 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.1531, allocations: 1.258 MB / 0.6709 GB, free: 6.586 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1531, allocations: 4 kB / 0.6709 GB, free: 6.582 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002637/0.1557, allocations: 1.473 MB / 0.6724 GB, free: 5.102 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1558, allocations: 8.031 kB / 0.6724 GB, free: 5.094 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1558, allocations: 0 / 0.6724 GB, free: 5.094 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1558, allocations: 8 kB / 0.6724 GB, free: 5.086 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.1582, allocations: 0.5191 MB / 0.6729 GB, free: 4.566 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.1582, allocations: 4 kB / 0.6729 GB, free: 4.562 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.159, allocations: 123.2 kB / 0.673 GB, free: 4.441 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/0.1591, allocations: 43.94 kB / 0.6731 GB, free: 4.398 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 (157): * Single equations (assignments): 157 * 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.0003051/0.1594, allocations: 214.5 kB / 0.6733 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.1595, allocations: 43.7 kB / 0.6733 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.16, allocations: 155.9 kB / 0.6735 GB, free: 3.984 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.16, allocations: 8 kB / 0.6735 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.16, allocations: 0 / 0.6735 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.1601, allocations: 11.97 kB / 0.6735 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1612, allocations: 0.7942 MB / 0.6743 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1612, allocations: 0 / 0.6743 GB, free: 3.117 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/0.1642, allocations: 0.5346 MB / 0.6748 GB, free: 2.582 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.1642, allocations: 4 kB / 0.6748 GB, free: 2.578 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.1643, allocations: 39.95 kB / 0.6748 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1644, allocations: 8 kB / 0.6748 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1644, allocations: 0 / 0.6748 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.1677, allocations: 1.968 MB / 0.6768 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.1678, allocations: 132.5 kB / 0.6769 GB, free: 408 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.168, allocations: 39.97 kB / 0.6769 GB, free: 368 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/0.1688, allocations: 51.94 kB / 0.677 GB, free: 316 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.169, allocations: 60.86 kB / 0.677 GB, free: 256 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.1691, allocations: 27.98 kB / 0.6771 GB, free: 228 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.484e-05/0.1691, allocations: 95.27 kB / 0.6771 GB, free: 132 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1691, allocations: 4 kB / 0.6771 GB, free: 128 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006472/0.1698, allocations: 307.9 kB / 0.6774 GB, free: 15.82 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.003756/0.1736, allocations: 2.563 MB / 0.6799 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.1759, allocations: 1.326 MB / 0.6812 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1759, allocations: 0 / 0.6812 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.177, allocations: 0.6536 MB / 0.6819 GB, free: 11.26 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.1777, allocations: 135.9 kB / 0.682 GB, free: 11.12 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.1935, allocations: 11.16 MB / 0.6929 GB, free: 15.87 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.1942, allocations: 0.9182 MB / 0.6938 GB, free: 14.92 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001099/0.1953, allocations: 392.5 kB / 0.6942 GB, free: 14.53 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/0.1958, allocations: 191.4 kB / 0.6944 GB, free: 14.34 MB / 0.5452 GB Notification: Performance of SimCode: time 7.52e-07/0.1958, allocations: 0 / 0.6944 GB, free: 14.34 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.2407, allocations: 17.51 MB / 0.7115 GB, free: 13.12 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.871/9.111, allocations: 16.59 kB / 0.7115 GB, free: 13.1 MB / 0.5608 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_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_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches