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.00178/0.00178, allocations: 108.6 kB / 16.92 MB, free: 6.145 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.002152/0.002152, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.524/2.524, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.592/1.592, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 71.89 kB / 0.4924 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7698/0.7725, allocations: 80.68 MB / 0.5712 GB, free: 43.76 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.003732/0.7763, allocations: 1.448 MB / 0.5726 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004158/0.7768, allocations: 95.2 kB / 0.5727 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.7768, allocations: 3.938 kB / 0.5727 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.777, allocations: 13.98 kB / 0.5727 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.7772, allocations: 58.8 kB / 0.5728 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.7775, allocations: 30.5 kB / 0.5728 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008438/0.7784, allocations: 0.6374 MB / 0.5734 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.11e-05/0.7785, allocations: 8.922 kB / 0.5734 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.779, allocations: 242.2 kB / 0.5737 GB, free: 42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.7797, allocations: 291.5 kB / 0.574 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.7799, allocations: 29.56 kB / 0.574 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.7801, allocations: 29.5 kB / 0.574 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.7803, allocations: 191.3 kB / 0.5742 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.7808, allocations: 189.7 kB / 0.5744 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.7813, allocations: 331.5 kB / 0.5747 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7813, allocations: 0 / 0.5747 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7813, allocations: 1.188 kB / 0.5747 GB, free: 41.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.7814, allocations: 3.938 kB / 0.5747 GB, free: 41.4 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.004247/0.7856, allocations: 0.8526 MB / 0.5755 GB, free: 40.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.7857, allocations: 13.7 kB / 0.5755 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.7859, allocations: 65.44 kB / 0.5756 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.7861, allocations: 35.41 kB / 0.5756 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.7866, allocations: 258 kB / 0.5759 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.7866, allocations: 27.75 kB / 0.5759 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.7868, allocations: 48.75 kB / 0.576 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.7882, allocations: 446.2 kB / 0.5764 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.7882, allocations: 13.23 kB / 0.5764 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.7883, allocations: 9.375 kB / 0.5764 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.7883, allocations: 6.875 kB / 0.5764 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.7896, allocations: 375.2 kB / 0.5768 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/0.795, allocations: 2.162 MB / 0.5789 GB, free: 38.09 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.7966, allocations: 477.6 kB / 0.5793 GB, free: 37.87 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009218/0.7975, allocations: 321 kB / 0.5796 GB, free: 37.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.498e-05/0.7976, allocations: 13 kB / 0.5797 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.7977, allocations: 37.75 kB / 0.5797 GB, free: 37.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 3.757e-06/0.7977, allocations: 0 / 0.5797 GB, free: 37.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.002788/0.8005, allocations: 0.7945 MB / 0.5805 GB, free: 37.3 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.8005, allocations: 60.89 kB / 0.5805 GB, free: 37.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.8007, allocations: 132 kB / 0.5807 GB, free: 37.11 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.8008, allocations: 40.23 kB / 0.5807 GB, free: 37.07 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.8008, allocations: 124.7 kB / 0.5808 GB, free: 36.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.8011, allocations: 205.1 kB / 0.581 GB, free: 36.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.8014, allocations: 110.7 kB / 0.5811 GB, free: 36.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.8015, allocations: 343.6 kB / 0.5814 GB, free: 36.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/0.8024, allocations: 275.7 kB / 0.5817 GB, free: 36.25 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000953/0.8034, allocations: 331.2 kB / 0.582 GB, free: 36.09 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.8054, allocations: 0.6086 MB / 0.5826 GB, free: 35.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.8054, allocations: 0 / 0.5826 GB, free: 35.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002312/0.8077, allocations: 0.7275 MB / 0.5833 GB, free: 35.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.8078, allocations: 8.781 kB / 0.5833 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8078, allocations: 0 / 0.5833 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.8078, allocations: 3.844 kB / 0.5833 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.8102, allocations: 256.8 kB / 0.5836 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.8102, allocations: 7.5 kB / 0.5836 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.811, allocations: 62.94 kB / 0.5836 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.8111, allocations: 15.88 kB / 0.5837 GB, free: 35.36 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 (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.000292/0.8114, allocations: 164.6 kB / 0.5838 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.8116, allocations: 26.59 kB / 0.5838 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.8118, allocations: 76.41 kB / 0.5839 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.8119, allocations: 9.062 kB / 0.5839 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.8119, allocations: 0 / 0.5839 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.8119, allocations: 5.297 kB / 0.5839 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.8129, allocations: 474.7 kB / 0.5844 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.813, allocations: 7.938 kB / 0.5844 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0029/0.8159, allocations: 252.5 kB / 0.5846 GB, free: 34.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.8159, allocations: 2.219 kB / 0.5846 GB, free: 34.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.816, allocations: 24.88 kB / 0.5847 GB, free: 34.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.8161, allocations: 2.219 kB / 0.5847 GB, free: 34.68 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8161, allocations: 1.125 kB / 0.5847 GB, free: 34.68 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.8189, allocations: 1.012 MB / 0.5856 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.819, allocations: 108.6 kB / 0.5858 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.8191, allocations: 19.98 kB / 0.5858 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/0.8199, allocations: 23.97 kB / 0.5858 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.8201, allocations: 28.39 kB / 0.5858 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.8202, allocations: 12 kB / 0.5858 GB, free: 33.92 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.489e-05/0.8203, allocations: 97.66 kB / 0.5859 GB, free: 33.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8203, allocations: 0 / 0.5859 GB, free: 33.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008263/0.8211, allocations: 155.8 kB / 0.5861 GB, free: 33.68 MB / 462.3 MB 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.002912/0.8241, allocations: 1.572 MB / 0.5876 GB, free: 32.08 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.8264, allocations: 0.8026 MB / 0.5884 GB, free: 31.27 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8264, allocations: 0 / 0.5884 GB, free: 31.27 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008565/0.8273, allocations: 318.3 kB / 0.5887 GB, free: 30.96 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.8282, allocations: 71.94 kB / 0.5888 GB, free: 30.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.8408, allocations: 5.887 MB / 0.5945 GB, free: 24.92 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.8412, allocations: 0.7956 MB / 0.5953 GB, free: 24.1 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001104/0.8423, allocations: 178.8 kB / 0.5955 GB, free: 23.93 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.8427, allocations: 99.41 kB / 0.5956 GB, free: 23.83 MB / 462.3 MB Notification: Performance of SimCode: time 7.11e-07/0.8427, allocations: 0 / 0.5956 GB, free: 23.83 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/0.8975, allocations: 9.014 MB / 0.6044 GB, free: 15.02 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.19, allocations: 8.875 kB / 0.6044 GB, free: 15.02 MB / 462.3 MB (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