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.001788/0.001788, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.002093/0.002093, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.379/2.379, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.54/1.54, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 63.91 kB / 0.4924 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7154, allocations: 80.68 MB / 0.5712 GB, free: 43.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.00363/0.719, allocations: 1.465 MB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.7195, allocations: 89.83 kB / 0.5727 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.7196, allocations: 5.469 kB / 0.5727 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.7197, allocations: 13.08 kB / 0.5727 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.7199, allocations: 59.61 kB / 0.5728 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.7202, allocations: 34.75 kB / 0.5728 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.7217, allocations: 1.211 MB / 0.574 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.7218, allocations: 7.75 kB / 0.574 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009354/0.7227, allocations: 471.5 kB / 0.5745 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.7241, allocations: 0.5444 MB / 0.575 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003514/0.7244, allocations: 61.41 kB / 0.5751 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.7248, allocations: 61.47 kB / 0.5751 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.7252, allocations: 374.8 kB / 0.5755 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008179/0.726, allocations: 393.5 kB / 0.5759 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0008759/0.7269, allocations: 0.6474 MB / 0.5765 GB, free: 40.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7269, allocations: 0 / 0.5765 GB, free: 40.42 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7269, allocations: 0.9375 kB / 0.5765 GB, free: 40.42 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.727, allocations: 0 / 0.5765 GB, free: 40.42 MB / 462.3 MB 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.007882/0.7349, allocations: 1.434 MB / 0.5779 GB, free: 39.51 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.7349, allocations: 13.11 kB / 0.5779 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.7352, allocations: 100.8 kB / 0.578 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.7355, allocations: 61.28 kB / 0.5781 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/0.7364, allocations: 355.2 kB / 0.5784 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.7365, allocations: 54.25 kB / 0.5784 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.7368, allocations: 99.19 kB / 0.5785 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.7393, allocations: 0.8777 MB / 0.5794 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.7393, allocations: 3.938 kB / 0.5794 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.7395, allocations: 29.06 kB / 0.5794 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.7395, allocations: 16.61 kB / 0.5794 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.7419, allocations: 0.7672 MB / 0.5802 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.7522, allocations: 4.326 MB / 0.5844 GB, free: 34.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.755, allocations: 0.9732 MB / 0.5854 GB, free: 34.02 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.7568, allocations: 0.6607 MB / 0.586 GB, free: 33.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.7569, allocations: 11.59 kB / 0.586 GB, free: 33.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.757, allocations: 51.5 kB / 0.5861 GB, free: 33.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 4.979e-06/0.757, allocations: 0 / 0.5861 GB, free: 33.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.004881/0.7619, allocations: 1.637 MB / 0.5877 GB, free: 31.97 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.7619, allocations: 64.34 kB / 0.5877 GB, free: 31.9 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.7621, allocations: 151.7 kB / 0.5879 GB, free: 31.74 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.7622, allocations: 53.7 kB / 0.5879 GB, free: 31.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.7624, allocations: 157.8 kB / 0.5881 GB, free: 31.52 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.7628, allocations: 410.1 kB / 0.5885 GB, free: 31.12 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/0.7633, allocations: 227 kB / 0.5887 GB, free: 30.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.7634, allocations: 366.8 kB / 0.589 GB, free: 30.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.7651, allocations: 0.5686 MB / 0.5896 GB, free: 29.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.7668, allocations: 0.6638 MB / 0.5902 GB, free: 29.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.7701, allocations: 1.25 MB / 0.5915 GB, free: 28.04 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.7701, allocations: 7.938 kB / 0.5915 GB, free: 28.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003934/0.7741, allocations: 1.472 MB / 0.5929 GB, free: 26.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7741, allocations: 8 kB / 0.5929 GB, free: 26.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.7741, allocations: 0 / 0.5929 GB, free: 26.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.7742, allocations: 7.984 kB / 0.5929 GB, free: 26.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/0.7785, allocations: 0.5308 MB / 0.5934 GB, free: 26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.7786, allocations: 4 kB / 0.5934 GB, free: 26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.7801, allocations: 119 kB / 0.5936 GB, free: 25.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.7802, allocations: 32 kB / 0.5936 GB, free: 25.85 MB / 462.3 MB 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.0004357/0.7807, allocations: 221.5 kB / 0.5938 GB, free: 25.62 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.7809, allocations: 43.47 kB / 0.5938 GB, free: 25.58 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.7814, allocations: 156 kB / 0.594 GB, free: 25.42 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.7815, allocations: 8 kB / 0.594 GB, free: 25.41 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.7815, allocations: 0 / 0.594 GB, free: 25.41 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.7815, allocations: 11.97 kB / 0.594 GB, free: 25.4 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.7832, allocations: 0.7901 MB / 0.5948 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7832, allocations: 0 / 0.5948 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005539/0.7888, allocations: 0.5308 MB / 0.5953 GB, free: 24.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.7888, allocations: 7.938 kB / 0.5953 GB, free: 24.03 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.789, allocations: 39.97 kB / 0.5953 GB, free: 23.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.789, allocations: 4 kB / 0.5953 GB, free: 23.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.789, allocations: 0 / 0.5953 GB, free: 23.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.794, allocations: 1.956 MB / 0.5973 GB, free: 22.01 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.7941, allocations: 132.4 kB / 0.5974 GB, free: 21.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/0.7944, allocations: 39.97 kB / 0.5974 GB, free: 21.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.7958, allocations: 51.95 kB / 0.5975 GB, free: 21.77 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/0.7962, allocations: 56.91 kB / 0.5975 GB, free: 21.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.7963, allocations: 31.98 kB / 0.5976 GB, free: 21.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.7964, allocations: 97.66 kB / 0.5976 GB, free: 21.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7964, allocations: 0 / 0.5976 GB, free: 21.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001139/0.7976, allocations: 311.8 kB / 0.5979 GB, free: 21.29 MB / 462.3 MB 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.005388/0.803, allocations: 2.559 MB / 0.6004 GB, free: 18.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.005201/0.8082, allocations: 1.955 MB / 0.6024 GB, free: 16.75 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8082, allocations: 0 / 0.6024 GB, free: 16.75 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.8099, allocations: 0.6497 MB / 0.603 GB, free: 16.1 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.8113, allocations: 147.8 kB / 0.6031 GB, free: 15.95 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/0.8349, allocations: 11.2 MB / 0.6141 GB, free: 4.656 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.8354, allocations: 0.9084 MB / 0.615 GB, free: 3.723 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.002138/0.8376, allocations: 400.5 kB / 0.6153 GB, free: 3.328 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/0.8384, allocations: 194.2 kB / 0.6155 GB, free: 3.141 MB / 462.3 MB Notification: Performance of SimCode: time 1.143e-06/0.8384, allocations: 0 / 0.6155 GB, free: 3.141 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05921/0.8976, allocations: 17.26 MB / 0.6324 GB, free: 2.137 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/10.55, allocations: 13.75 kB / 0.6324 GB, free: 2.125 MB / 478.3 MB (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