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.001084/0.001084, allocations: 106.6 kB / 17.06 MB, free: 5.832 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.001289/0.001289, allocations: 195.9 kB / 18 MB, free: 4.961 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.341/1.341, 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.8486/0.8486, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.53 kB / 0.5718 GB, free: 39.23 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 80.69 MB / 0.6506 GB, free: 12.13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.00223/0.1144, allocations: 1.467 MB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002694/0.1147, allocations: 99.66 kB / 0.6522 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.1148, allocations: 0 / 0.6522 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.575e-05/0.1149, allocations: 11.92 kB / 0.6522 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.115, allocations: 63.7 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1152, allocations: 35.88 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009953/0.1162, allocations: 1.221 MB / 0.6535 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1163, allocations: 8 kB / 0.6535 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.1167, allocations: 463.4 kB / 0.6539 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.1175, allocations: 0.538 MB / 0.6544 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1176, allocations: 60 kB / 0.6545 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1178, allocations: 64 kB / 0.6546 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.1181, allocations: 375.1 kB / 0.6549 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.1185, allocations: 390.6 kB / 0.6553 GB, free: 7.355 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.1191, allocations: 0.6578 MB / 0.6559 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1191, allocations: 0 / 0.6559 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1191, allocations: 0 / 0.6559 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.1191, allocations: 0 / 0.6559 GB, free: 6.695 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.004595/0.1237, allocations: 1.444 MB / 0.6573 GB, free: 5.195 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1238, allocations: 15.89 kB / 0.6574 GB, free: 5.18 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.1239, allocations: 94.7 kB / 0.6574 GB, free: 5.078 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1241, allocations: 64.61 kB / 0.6575 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.1248, allocations: 359.2 kB / 0.6578 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.1248, allocations: 57.69 kB / 0.6579 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.125, allocations: 108.2 kB / 0.658 GB, free: 4.469 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.1265, allocations: 0.8811 MB / 0.6589 GB, free: 3.578 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1265, allocations: 3.938 kB / 0.6589 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.1266, allocations: 23.94 kB / 0.6589 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1266, allocations: 16 kB / 0.6589 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.1279, allocations: 0.7663 MB / 0.6597 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006364/0.1343, allocations: 4.31 MB / 0.6639 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.1358, allocations: 0.9727 MB / 0.6648 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.1369, allocations: 0.6602 MB / 0.6655 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.137, allocations: 13 kB / 0.6655 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.137, allocations: 47.5 kB / 0.6655 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 2.806e-06/0.137, allocations: 4 kB / 0.6655 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002933/0.14, allocations: 1.641 MB / 0.6671 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.14, allocations: 64.41 kB / 0.6672 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1402, allocations: 144.6 kB / 0.6673 GB, free: 10.35 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.881e-05/0.1403, allocations: 49.7 kB / 0.6674 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.1404, allocations: 154 kB / 0.6675 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.1407, allocations: 440.3 kB / 0.6679 GB, free: 9.707 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.1411, allocations: 227 kB / 0.6682 GB, free: 9.48 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1413, allocations: 366.8 kB / 0.6685 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009837/0.1422, allocations: 0.5686 MB / 0.6691 GB, free: 8.543 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.1433, allocations: 0.6599 MB / 0.6697 GB, free: 7.879 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.1453, allocations: 1.258 MB / 0.6709 GB, free: 6.613 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1453, allocations: 0 / 0.6709 GB, free: 6.613 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00241/0.1477, allocations: 1.481 MB / 0.6724 GB, free: 5.125 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1478, allocations: 7.938 kB / 0.6724 GB, free: 5.117 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1478, allocations: 0 / 0.6724 GB, free: 5.117 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1478, allocations: 8 kB / 0.6724 GB, free: 5.109 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.1502, allocations: 0.5191 MB / 0.6729 GB, free: 4.59 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.1503, allocations: 12 kB / 0.6729 GB, free: 4.578 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.1511, allocations: 119.2 kB / 0.673 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.1512, allocations: 40 kB / 0.6731 GB, free: 4.422 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.0003099/0.1515, allocations: 214.4 kB / 0.6733 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.1516, allocations: 51.64 kB / 0.6733 GB, free: 4.152 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.152, allocations: 144 kB / 0.6735 GB, free: 4.012 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.152, allocations: 16 kB / 0.6735 GB, free: 3.996 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1521, allocations: 3.938 kB / 0.6735 GB, free: 3.992 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1521, allocations: 3.984 kB / 0.6735 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1531, allocations: 0.7981 MB / 0.6743 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1532, allocations: 0 / 0.6743 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/0.1562, allocations: 0.5307 MB / 0.6748 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.1562, allocations: 8 kB / 0.6748 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.1563, allocations: 47.95 kB / 0.6748 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.1563, allocations: 4 kB / 0.6748 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1563, allocations: 0 / 0.6748 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.1594, allocations: 1.964 MB / 0.6767 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.1595, allocations: 128.6 kB / 0.6769 GB, free: 432 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.1597, allocations: 43.91 kB / 0.6769 GB, free: 388 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/0.1605, allocations: 55.88 kB / 0.677 GB, free: 332 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.1607, allocations: 60.91 kB / 0.677 GB, free: 272 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.1608, allocations: 20 kB / 0.677 GB, free: 252 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.1609, allocations: 99.27 kB / 0.6771 GB, free: 152 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1609, allocations: 0 / 0.6771 GB, free: 152 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006706/0.1616, allocations: 307.9 kB / 0.6774 GB, free: 15.84 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.00343/0.165, allocations: 2.563 MB / 0.6799 GB, free: 13.26 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.1672, allocations: 1.334 MB / 0.6812 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1672, allocations: 0 / 0.6812 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009986/0.1682, allocations: 0.6497 MB / 0.6819 GB, free: 11.28 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.1689, allocations: 139.9 kB / 0.682 GB, free: 11.14 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.1834, allocations: 11.16 MB / 0.6929 GB, free: 15.88 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1839, allocations: 0.9142 MB / 0.6938 GB, free: 14.94 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001116/0.185, allocations: 392.5 kB / 0.6942 GB, free: 14.55 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.1855, allocations: 191.4 kB / 0.6944 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of SimCode: time 5.61e-07/0.1855, allocations: 0 / 0.6944 GB, free: 14.36 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.2233, allocations: 17.51 MB / 0.7115 GB, free: 13.14 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.533, allocations: 11.62 kB / 0.7115 GB, free: 13.13 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