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.001072/0.001072, allocations: 108.2 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.001046/0.001046, 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 1.12/1.12, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7012/0.7012, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 59.91 kB / 0.4924 GB, free: 12.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.352, allocations: 80.69 MB / 0.5712 GB, free: 43.8 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001786/0.3538, allocations: 1.437 MB / 0.5726 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.354, allocations: 95.34 kB / 0.5727 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.354, allocations: 0 / 0.5727 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.432e-05/0.3541, allocations: 9.078 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.3542, allocations: 68.25 kB / 0.5728 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.3544, allocations: 28.61 kB / 0.5728 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.3548, allocations: 0.5761 MB / 0.5734 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.3548, allocations: 14.27 kB / 0.5734 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.355, allocations: 203.7 kB / 0.5736 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.3553, allocations: 278.5 kB / 0.5738 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.3553, allocations: 29.5 kB / 0.5739 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.3554, allocations: 29.44 kB / 0.5739 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3555, allocations: 186.9 kB / 0.5741 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3557, allocations: 197.8 kB / 0.5743 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3559, allocations: 336.1 kB / 0.5746 GB, free: 41.5 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.356, allocations: 0 / 0.5746 GB, free: 41.5 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.002e-06/0.356, allocations: 7.938 kB / 0.5746 GB, free: 41.49 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.356, allocations: 0 / 0.5746 GB, free: 41.49 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.001908/0.3579, allocations: 0.8504 MB / 0.5754 GB, free: 40.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.3579, allocations: 9.781 kB / 0.5754 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.358, allocations: 64.09 kB / 0.5755 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.3581, allocations: 32.78 kB / 0.5755 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3583, allocations: 256.8 kB / 0.5758 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3583, allocations: 28.34 kB / 0.5758 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/0.3584, allocations: 47.84 kB / 0.5758 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.359, allocations: 451.7 kB / 0.5763 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.359, allocations: 3.938 kB / 0.5763 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.359, allocations: 10.75 kB / 0.5763 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.359, allocations: 9.5 kB / 0.5763 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.3596, allocations: 375.2 kB / 0.5767 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.3619, allocations: 2.162 MB / 0.5788 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.3626, allocations: 481.3 kB / 0.5792 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.3631, allocations: 325 kB / 0.5795 GB, free: 37.81 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.3631, allocations: 12.14 kB / 0.5796 GB, free: 37.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.3631, allocations: 37.53 kB / 0.5796 GB, free: 37.76 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.493e-06/0.3631, allocations: 1.25 kB / 0.5796 GB, free: 37.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001205/0.3643, allocations: 0.807 MB / 0.5804 GB, free: 37.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.3644, allocations: 56.91 kB / 0.5804 GB, free: 37.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.3644, allocations: 141.5 kB / 0.5806 GB, free: 37.19 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3645, allocations: 36.23 kB / 0.5806 GB, free: 37.15 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.3645, allocations: 120.7 kB / 0.5807 GB, free: 37.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.3646, allocations: 205.1 kB / 0.5809 GB, free: 36.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3648, allocations: 110.6 kB / 0.581 GB, free: 36.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.3648, allocations: 339.7 kB / 0.5813 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3652, allocations: 280.4 kB / 0.5816 GB, free: 36.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.3656, allocations: 335.5 kB / 0.5819 GB, free: 36.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.3664, allocations: 0.6087 MB / 0.5825 GB, free: 35.89 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3664, allocations: 1.375 kB / 0.5825 GB, free: 35.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009613/0.3674, allocations: 0.731 MB / 0.5832 GB, free: 35.54 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3674, allocations: 8.125 kB / 0.5832 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3674, allocations: 0 / 0.5832 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3674, allocations: 7.531 kB / 0.5833 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.3684, allocations: 257.3 kB / 0.5835 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3684, allocations: 3.375 kB / 0.5835 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.3687, allocations: 62.84 kB / 0.5836 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.3688, allocations: 17 kB / 0.5836 GB, free: 35.44 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.0001213/0.3689, allocations: 159.7 kB / 0.5837 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.369, allocations: 31.33 kB / 0.5838 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.3691, allocations: 79.56 kB / 0.5838 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3691, allocations: 12.94 kB / 0.5838 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3691, allocations: 1.438 kB / 0.5838 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3691, allocations: 3.984 kB / 0.5839 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.3695, allocations: 470.1 kB / 0.5843 GB, free: 34.83 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3696, allocations: 9.344 kB / 0.5843 GB, free: 34.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.3707, allocations: 251.7 kB / 0.5846 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3707, allocations: 1.875 kB / 0.5846 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.3708, allocations: 26.44 kB / 0.5846 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3708, allocations: 0.9688 kB / 0.5846 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3708, allocations: 4.938 kB / 0.5846 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.372, allocations: 1.008 MB / 0.5856 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.3721, allocations: 104.6 kB / 0.5857 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.3721, allocations: 23.98 kB / 0.5857 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.3725, allocations: 19.97 kB / 0.5857 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.3726, allocations: 24.41 kB / 0.5857 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3726, allocations: 19.98 kB / 0.5858 GB, free: 34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.935e-05/0.3726, allocations: 103.2 kB / 0.5858 GB, free: 33.9 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3726, allocations: 0 / 0.5858 GB, free: 33.9 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003196/0.373, allocations: 151.8 kB / 0.586 GB, free: 33.75 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.001228/0.3742, allocations: 1.576 MB / 0.5875 GB, free: 32.15 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008971/0.3751, allocations: 0.8065 MB / 0.5883 GB, free: 31.34 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3751, allocations: 0 / 0.5883 GB, free: 31.34 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.3755, allocations: 310.3 kB / 0.5886 GB, free: 31.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3758, allocations: 75.94 kB / 0.5887 GB, free: 30.97 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.3808, allocations: 5.87 MB / 0.5944 GB, free: 25.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.3809, allocations: 0.7956 MB / 0.5952 GB, free: 24.19 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.3813, allocations: 170.8 kB / 0.5954 GB, free: 24.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.3815, allocations: 99.41 kB / 0.5955 GB, free: 23.93 MB / 462.3 MB Notification: Performance of SimCode: time 2.01e-07/0.3815, allocations: 0 / 0.5955 GB, free: 23.93 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4376/0.819, allocations: 9.005 MB / 0.6043 GB, free: 15.14 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/9.12, allocations: 19.41 kB / 0.6043 GB, free: 15.12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 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.mat","/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