Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.00176/0.00176, allocations: 106.7 kB / 16.92 MB, free: 5.781 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.002087/0.002087, allocations: 191.5 kB / 17.85 MB, free: 5.195 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.117/2.117, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8977/0.8977, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.88 kB / 0.4924 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4023, allocations: 80.68 MB / 0.5712 GB, free: 43.83 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001941/0.4043, allocations: 1.452 MB / 0.5726 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002227/0.4045, allocations: 89.47 kB / 0.5727 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.4046, allocations: 1.406 kB / 0.5727 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.457e-05/0.4047, allocations: 9.328 kB / 0.5727 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.994e-05/0.4048, allocations: 62.92 kB / 0.5728 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.405, allocations: 33.62 kB / 0.5728 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.4054, allocations: 0.5755 MB / 0.5734 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.4054, allocations: 6.375 kB / 0.5734 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4056, allocations: 207.6 kB / 0.5736 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.4059, allocations: 283.4 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.406, allocations: 29.19 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.4061, allocations: 28.94 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.4062, allocations: 183.5 kB / 0.5741 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.4064, allocations: 205.4 kB / 0.5743 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.4066, allocations: 328 kB / 0.5746 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4066, allocations: 0 / 0.5746 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4066, allocations: 3.938 kB / 0.5746 GB, free: 41.52 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.4067, allocations: 0 / 0.5746 GB, free: 41.52 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.002122/0.4088, allocations: 0.8532 MB / 0.5754 GB, free: 40.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.4088, allocations: 10.06 kB / 0.5754 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.4089, allocations: 61.77 kB / 0.5755 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.409, allocations: 30.84 kB / 0.5755 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.4092, allocations: 265.9 kB / 0.5758 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4093, allocations: 27.84 kB / 0.5758 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.4094, allocations: 48.81 kB / 0.5759 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.41, allocations: 451.6 kB / 0.5763 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.41, allocations: 3.938 kB / 0.5763 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.41, allocations: 9.781 kB / 0.5763 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.4101, allocations: 7.156 kB / 0.5763 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.4106, allocations: 374.6 kB / 0.5767 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.4132, allocations: 2.162 MB / 0.5788 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.414, allocations: 481.1 kB / 0.5792 GB, free: 37.99 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.4144, allocations: 323.6 kB / 0.5795 GB, free: 37.84 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.4145, allocations: 9.938 kB / 0.5796 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.4145, allocations: 40.81 kB / 0.5796 GB, free: 37.79 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.4145, allocations: 0.9375 kB / 0.5796 GB, free: 37.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001355/0.4159, allocations: 0.8149 MB / 0.5804 GB, free: 37.4 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.4159, allocations: 56.91 kB / 0.5804 GB, free: 37.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.416, allocations: 135.7 kB / 0.5806 GB, free: 37.22 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.416, allocations: 36.23 kB / 0.5806 GB, free: 37.18 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.4161, allocations: 120.7 kB / 0.5807 GB, free: 37.06 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/0.4162, allocations: 201.1 kB / 0.5809 GB, free: 36.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4163, allocations: 118.1 kB / 0.581 GB, free: 36.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.4164, allocations: 343.6 kB / 0.5814 GB, free: 36.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.4168, allocations: 276.8 kB / 0.5816 GB, free: 36.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.4173, allocations: 335.5 kB / 0.5819 GB, free: 36.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.4182, allocations: 0.6096 MB / 0.5825 GB, free: 35.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4182, allocations: 0 / 0.5825 GB, free: 35.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001101/0.4193, allocations: 0.7355 MB / 0.5833 GB, free: 35.56 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4193, allocations: 5.594 kB / 0.5833 GB, free: 35.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4193, allocations: 5.094 kB / 0.5833 GB, free: 35.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4194, allocations: 3.344 kB / 0.5833 GB, free: 35.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.4204, allocations: 257 kB / 0.5835 GB, free: 35.51 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4205, allocations: 3.562 kB / 0.5835 GB, free: 35.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.4208, allocations: 54.38 kB / 0.5836 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.4209, allocations: 20.22 kB / 0.5836 GB, free: 35.46 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.0001366/0.421, allocations: 163.8 kB / 0.5837 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.4211, allocations: 27.53 kB / 0.5838 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.4213, allocations: 76.59 kB / 0.5838 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4213, allocations: 8.453 kB / 0.5838 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4213, allocations: 1.188 kB / 0.5838 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4213, allocations: 0 / 0.5838 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.4218, allocations: 478.2 kB / 0.5843 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4218, allocations: 3.938 kB / 0.5843 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.4232, allocations: 256.8 kB / 0.5846 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4232, allocations: 10.52 kB / 0.5846 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.4233, allocations: 21.05 kB / 0.5846 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4233, allocations: 2.938 kB / 0.5846 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4233, allocations: 0 / 0.5846 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4247, allocations: 1.006 MB / 0.5856 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.4247, allocations: 108.6 kB / 0.5857 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.4248, allocations: 23.97 kB / 0.5857 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.4252, allocations: 19.98 kB / 0.5857 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4253, allocations: 32.39 kB / 0.5857 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.4254, allocations: 15.94 kB / 0.5858 GB, free: 34.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.4254, allocations: 103.2 kB / 0.5859 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4254, allocations: 0 / 0.5859 GB, free: 33.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003753/0.4258, allocations: 155.8 kB / 0.586 GB, free: 33.77 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.001429/0.4272, allocations: 1.572 MB / 0.5875 GB, free: 32.18 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.4283, allocations: 0.7948 MB / 0.5883 GB, free: 31.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4283, allocations: 0 / 0.5883 GB, free: 31.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.4287, allocations: 322.3 kB / 0.5886 GB, free: 31.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.4291, allocations: 71.95 kB / 0.5887 GB, free: 31 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/0.4349, allocations: 5.852 MB / 0.5944 GB, free: 25.05 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.435, allocations: 0.7956 MB / 0.5952 GB, free: 24.23 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000427/0.4355, allocations: 178.8 kB / 0.5954 GB, free: 24.06 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.4357, allocations: 91.41 kB / 0.5954 GB, free: 23.97 MB / 462.3 MB Notification: Performance of SimCode: time 3.11e-07/0.4357, allocations: 0 / 0.5954 GB, free: 23.97 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9217/1.357, allocations: 9.026 MB / 0.6043 GB, free: 15.16 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.85, allocations: 13.03 kB / 0.6043 GB, free: 15.15 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches