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.0008377/0.0008378, allocations: 94.41 kB / 16.65 MB, free: 6.293 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.0009573/0.0009573, allocations: 177.2 kB / 17.56 MB, free: 5.898 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.149/1.149, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7385/0.7385, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 12 kB / 0.4963 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4029, allocations: 82.84 MB / 0.5772 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.0009674/0.4039, allocations: 1.169 MB / 0.5784 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002106/0.4041, allocations: 96.12 kB / 0.5785 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.4041, allocations: 0 / 0.5785 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.548e-05/0.4042, allocations: 9.328 kB / 0.5785 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.852e-05/0.4043, allocations: 61.58 kB / 0.5785 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.4045, allocations: 39.03 kB / 0.5786 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.405, allocations: 0.7713 MB / 0.5793 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.405, allocations: 5.531 kB / 0.5793 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.4052, allocations: 241.3 kB / 0.5796 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.4056, allocations: 313.1 kB / 0.5799 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.4057, allocations: 29.53 kB / 0.5799 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.4058, allocations: 31.75 kB / 0.5799 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.4059, allocations: 185 kB / 0.5801 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.406, allocations: 222.8 kB / 0.5803 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.4063, allocations: 331.6 kB / 0.5806 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4063, allocations: 0 / 0.5806 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4063, allocations: 0 / 0.5806 GB, free: 40.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.4063, allocations: 0 / 0.5806 GB, free: 40.02 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.001869/0.4082, allocations: 0.8238 MB / 0.5814 GB, free: 39.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.4082, allocations: 10.09 kB / 0.5814 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.4083, allocations: 76.75 kB / 0.5815 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.4083, allocations: 36.78 kB / 0.5816 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4086, allocations: 257.2 kB / 0.5818 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4086, allocations: 28.06 kB / 0.5818 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.4087, allocations: 48.05 kB / 0.5819 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.4093, allocations: 449.9 kB / 0.5823 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4093, allocations: 7.938 kB / 0.5823 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.4094, allocations: 10.53 kB / 0.5823 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4094, allocations: 6.281 kB / 0.5823 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.4099, allocations: 378.3 kB / 0.5827 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.4123, allocations: 2.174 MB / 0.5848 GB, free: 36.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.413, allocations: 483.1 kB / 0.5853 GB, free: 36.52 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.4134, allocations: 325.6 kB / 0.5856 GB, free: 36.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.4134, allocations: 9.156 kB / 0.5856 GB, free: 36.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.4135, allocations: 37.47 kB / 0.5856 GB, free: 36.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.463e-06/0.4135, allocations: 0 / 0.5856 GB, free: 36.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001229/0.4147, allocations: 0.8017 MB / 0.5864 GB, free: 35.95 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.4147, allocations: 60.84 kB / 0.5865 GB, free: 35.88 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.4148, allocations: 138.4 kB / 0.5866 GB, free: 35.75 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.4148, allocations: 40.23 kB / 0.5866 GB, free: 35.71 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.4149, allocations: 120.7 kB / 0.5867 GB, free: 35.59 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.415, allocations: 205.1 kB / 0.5869 GB, free: 35.41 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.4151, allocations: 66.94 kB / 0.587 GB, free: 35.37 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.4151, allocations: 343.6 kB / 0.5873 GB, free: 35.03 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.4155, allocations: 281.2 kB / 0.5876 GB, free: 34.9 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.4159, allocations: 328.7 kB / 0.5879 GB, free: 34.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.4166, allocations: 0.6038 MB / 0.5885 GB, free: 33.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4166, allocations: 0 / 0.5885 GB, free: 33.96 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008643/0.4175, allocations: 0.7272 MB / 0.5892 GB, free: 33.23 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4175, allocations: 4 kB / 0.5892 GB, free: 33.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4175, allocations: 8.031 kB / 0.5892 GB, free: 33.22 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4175, allocations: 0 / 0.5892 GB, free: 33.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.4184, allocations: 263.7 kB / 0.5895 GB, free: 32.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4184, allocations: 4 kB / 0.5895 GB, free: 32.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.4188, allocations: 55.5 kB / 0.5895 GB, free: 32.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.4189, allocations: 16 kB / 0.5896 GB, free: 32.89 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.0001238/0.419, allocations: 169.7 kB / 0.5897 GB, free: 32.71 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.419, allocations: 31.66 kB / 0.5897 GB, free: 32.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.4193, allocations: 70.28 kB / 0.5898 GB, free: 32.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4193, allocations: 4 kB / 0.5898 GB, free: 32.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4193, allocations: 0 / 0.5898 GB, free: 32.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4193, allocations: 11.97 kB / 0.5898 GB, free: 32.6 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.4197, allocations: 473.3 kB / 0.5903 GB, free: 32.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4197, allocations: 3.938 kB / 0.5903 GB, free: 32.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.4208, allocations: 255.8 kB / 0.5905 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4208, allocations: 4 kB / 0.5905 GB, free: 31.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.4209, allocations: 19.97 kB / 0.5905 GB, free: 31.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4209, allocations: 7.938 kB / 0.5906 GB, free: 31.8 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4209, allocations: 0 / 0.5906 GB, free: 31.8 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.422, allocations: 1.001 MB / 0.5915 GB, free: 30.78 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.4221, allocations: 104.7 kB / 0.5916 GB, free: 30.66 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.4221, allocations: 23.98 kB / 0.5917 GB, free: 30.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.4225, allocations: 31.81 kB / 0.5917 GB, free: 30.61 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.4226, allocations: 32.39 kB / 0.5917 GB, free: 30.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.4226, allocations: 12 kB / 0.5917 GB, free: 30.56 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.028e-05/0.4227, allocations: 95.27 kB / 0.5918 GB, free: 30.47 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4227, allocations: 0 / 0.5918 GB, free: 30.47 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003349/0.423, allocations: 159.8 kB / 0.592 GB, free: 30.31 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.001258/0.4243, allocations: 1.566 MB / 0.5935 GB, free: 28.72 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007578/0.4251, allocations: 0.6309 MB / 0.5941 GB, free: 28.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4251, allocations: 4.062 kB / 0.5941 GB, free: 28.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.4254, allocations: 322.3 kB / 0.5944 GB, free: 27.77 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.4258, allocations: 56.77 kB / 0.5945 GB, free: 27.72 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.4311, allocations: 6.378 MB / 0.6007 GB, free: 21.24 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.4313, allocations: 0.7997 MB / 0.6015 GB, free: 20.41 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003921/0.4317, allocations: 178.8 kB / 0.6017 GB, free: 20.24 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.4319, allocations: 95.41 kB / 0.6018 GB, free: 20.15 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.4319, allocations: 0 / 0.6018 GB, free: 20.15 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5843/1.016, allocations: 8.54 MB / 0.6101 GB, free: 11.87 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.016, allocations: 273.8 kB / 0.6104 GB, free: 11.5 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.946, allocations: 6.969 kB / 0.6104 GB, free: 11.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches