Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.001698/0.001698, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.002011/0.002011, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.301/2.301, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.147/1.147, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.91 kB / 0.4924 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.419, allocations: 80.69 MB / 0.5712 GB, free: 43.82 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002102/0.4212, allocations: 1.465 MB / 0.5726 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.4214, allocations: 94.41 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.4215, allocations: 1.219 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.726e-05/0.4216, allocations: 9.109 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.4217, allocations: 62.62 kB / 0.5728 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.4219, allocations: 30.14 kB / 0.5728 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.4226, allocations: 1.096 MB / 0.5739 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.4226, allocations: 8.188 kB / 0.5739 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.4229, allocations: 384.8 kB / 0.5743 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.4235, allocations: 0.5342 MB / 0.5748 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.4237, allocations: 61.28 kB / 0.5749 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.4238, allocations: 60.88 kB / 0.5749 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.4241, allocations: 373.8 kB / 0.5753 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003676/0.4245, allocations: 391.6 kB / 0.5756 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.4249, allocations: 0.647 MB / 0.5763 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4249, allocations: 0 / 0.5763 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4249, allocations: 0 / 0.5763 GB, free: 40.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.4249, allocations: 0 / 0.5763 GB, free: 40.55 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.004353/0.4293, allocations: 1.438 MB / 0.5777 GB, free: 39.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4293, allocations: 9.219 kB / 0.5777 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.4295, allocations: 96.86 kB / 0.5778 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.4296, allocations: 65.16 kB / 0.5778 GB, free: 39.53 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.4301, allocations: 355 kB / 0.5782 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.4302, allocations: 55.19 kB / 0.5782 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.4304, allocations: 104.5 kB / 0.5783 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.4318, allocations: 0.8756 MB / 0.5792 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4318, allocations: 7.938 kB / 0.5792 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.4319, allocations: 21.03 kB / 0.5792 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4319, allocations: 16.66 kB / 0.5792 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.4332, allocations: 0.776 MB / 0.58 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005655/0.4388, allocations: 4.317 MB / 0.5842 GB, free: 34.61 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.4403, allocations: 0.9864 MB / 0.5852 GB, free: 34.14 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009035/0.4412, allocations: 0.6716 MB / 0.5858 GB, free: 33.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.4413, allocations: 10.44 kB / 0.5858 GB, free: 33.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4413, allocations: 51.62 kB / 0.5859 GB, free: 33.74 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.655e-06/0.4413, allocations: 0 / 0.5859 GB, free: 33.74 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002448/0.4438, allocations: 1.654 MB / 0.5875 GB, free: 32.15 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.4438, allocations: 64.41 kB / 0.5876 GB, free: 32.07 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.4439, allocations: 147.2 kB / 0.5877 GB, free: 31.92 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.444, allocations: 53.64 kB / 0.5878 GB, free: 31.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.444, allocations: 161.8 kB / 0.5879 GB, free: 31.7 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.4442, allocations: 410.1 kB / 0.5883 GB, free: 31.29 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.4445, allocations: 227 kB / 0.5885 GB, free: 31.07 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.4446, allocations: 362.8 kB / 0.5889 GB, free: 30.7 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/0.4454, allocations: 0.5725 MB / 0.5894 GB, free: 30.13 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.4462, allocations: 0.6677 MB / 0.5901 GB, free: 29.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.4479, allocations: 1.27 MB / 0.5913 GB, free: 28.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4479, allocations: 0 / 0.5913 GB, free: 28.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001981/0.4499, allocations: 1.476 MB / 0.5928 GB, free: 26.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4499, allocations: 4 kB / 0.5928 GB, free: 26.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4499, allocations: 3.938 kB / 0.5928 GB, free: 26.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4499, allocations: 8 kB / 0.5928 GB, free: 26.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.4522, allocations: 0.5307 MB / 0.5933 GB, free: 26.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4522, allocations: 4 kB / 0.5933 GB, free: 26.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/0.453, allocations: 119 kB / 0.5934 GB, free: 26.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.4531, allocations: 36 kB / 0.5934 GB, free: 26 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.0002437/0.4533, allocations: 221.5 kB / 0.5936 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.4534, allocations: 47.47 kB / 0.5937 GB, free: 25.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.4538, allocations: 148 kB / 0.5938 GB, free: 25.58 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.4538, allocations: 8 kB / 0.5938 GB, free: 25.57 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4538, allocations: 0 / 0.5938 GB, free: 25.57 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4538, allocations: 3.984 kB / 0.5938 GB, free: 25.57 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.4547, allocations: 0.7902 MB / 0.5946 GB, free: 24.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4547, allocations: 0 / 0.5946 GB, free: 24.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/0.4574, allocations: 0.5385 MB / 0.5951 GB, free: 24.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4574, allocations: 7.938 kB / 0.5952 GB, free: 24.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.924e-05/0.4575, allocations: 43.95 kB / 0.5952 GB, free: 24.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.4575, allocations: 0 / 0.5952 GB, free: 24.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4575, allocations: 0 / 0.5952 GB, free: 24.14 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.46, allocations: 1.968 MB / 0.5971 GB, free: 22.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.4601, allocations: 132.4 kB / 0.5972 GB, free: 22.01 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.4602, allocations: 35.97 kB / 0.5973 GB, free: 21.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007589/0.461, allocations: 51.94 kB / 0.5973 GB, free: 21.92 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.4612, allocations: 60.91 kB / 0.5974 GB, free: 21.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/0.4613, allocations: 28 kB / 0.5974 GB, free: 21.83 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.4613, allocations: 102.9 kB / 0.5975 GB, free: 21.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4613, allocations: 3.938 kB / 0.5975 GB, free: 21.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000569/0.4619, allocations: 315.8 kB / 0.5978 GB, free: 21.42 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.002725/0.4646, allocations: 2.551 MB / 0.6003 GB, free: 18.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.4671, allocations: 1.963 MB / 0.6022 GB, free: 16.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4671, allocations: 0 / 0.6022 GB, free: 16.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.4679, allocations: 0.6654 MB / 0.6029 GB, free: 16.22 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.4686, allocations: 139.8 kB / 0.603 GB, free: 16.08 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.4799, allocations: 11.13 MB / 0.6139 GB, free: 4.859 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.4802, allocations: 0.9193 MB / 0.6148 GB, free: 3.918 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009598/0.4812, allocations: 388.6 kB / 0.6151 GB, free: 3.535 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.4816, allocations: 187.4 kB / 0.6153 GB, free: 3.352 MB / 462.3 MB Notification: Performance of SimCode: time 5.81e-07/0.4816, allocations: 0 / 0.6153 GB, free: 3.352 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.355/4.837, allocations: 17.27 MB / 0.6322 GB, free: 2.332 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/14.99, allocations: 15.75 kB / 0.6322 GB, free: 2.32 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches