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.001249/0.001249, allocations: 106.1 kB / 16.51 MB, free: 6.707 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.001292/0.001292, allocations: 191.9 kB / 17.43 MB, free: 6.066 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.218/1.218, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.756/0.756, allocations: 119.3 MB / 410.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.4917 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.397, allocations: 80.69 MB / 0.5705 GB, free: 43.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001992/0.399, allocations: 1.522 MB / 0.572 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002265/0.3992, allocations: 99.62 kB / 0.5721 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.3993, allocations: 0 / 0.5721 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.367e-05/0.3994, allocations: 9.422 kB / 0.5721 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.3995, allocations: 61.7 kB / 0.5721 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.3996, allocations: 26.42 kB / 0.5722 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007522/0.4004, allocations: 1.208 MB / 0.5733 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.4005, allocations: 9.766 kB / 0.5734 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.4008, allocations: 399.2 kB / 0.5737 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.4014, allocations: 0.5775 MB / 0.5743 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.4015, allocations: 61.5 kB / 0.5744 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.4017, allocations: 60.66 kB / 0.5744 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.402, allocations: 370.4 kB / 0.5748 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.4023, allocations: 391.2 kB / 0.5751 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.4027, allocations: 0.6466 MB / 0.5758 GB, free: 40.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4028, allocations: 3.938 kB / 0.5758 GB, free: 40.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.91e-07/0.4028, allocations: 0 / 0.5758 GB, free: 40.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4028, allocations: 0 / 0.5758 GB, free: 40.54 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.004076/0.4069, allocations: 1.43 MB / 0.5772 GB, free: 39.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4069, allocations: 9.25 kB / 0.5772 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.407, allocations: 100.8 kB / 0.5773 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.4072, allocations: 65.27 kB / 0.5773 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.4076, allocations: 351.1 kB / 0.5777 GB, free: 39.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.4077, allocations: 55.19 kB / 0.5777 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.4079, allocations: 106.2 kB / 0.5778 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.4091, allocations: 0.8774 MB / 0.5787 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4092, allocations: 7.938 kB / 0.5787 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.4092, allocations: 21.06 kB / 0.5787 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.4093, allocations: 13.88 kB / 0.5787 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.4104, allocations: 0.7717 MB / 0.5795 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.4155, allocations: 4.318 MB / 0.5837 GB, free: 34.61 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.4169, allocations: 0.9787 MB / 0.5847 GB, free: 34.14 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/0.4178, allocations: 0.6716 MB / 0.5853 GB, free: 33.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.4179, allocations: 10.66 kB / 0.5853 GB, free: 33.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.4179, allocations: 55.14 kB / 0.5854 GB, free: 33.74 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.244e-06/0.4179, allocations: 0 / 0.5854 GB, free: 33.74 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002375/0.4203, allocations: 1.66 MB / 0.587 GB, free: 32.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.4203, allocations: 60.41 kB / 0.587 GB, free: 32.1 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.4204, allocations: 147.6 kB / 0.5872 GB, free: 31.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.4205, allocations: 53.7 kB / 0.5872 GB, free: 31.89 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.4205, allocations: 157.7 kB / 0.5874 GB, free: 31.73 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4207, allocations: 414 kB / 0.5878 GB, free: 31.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.421, allocations: 227 kB / 0.588 GB, free: 31.09 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.4211, allocations: 370.8 kB / 0.5884 GB, free: 30.72 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/0.4219, allocations: 0.5686 MB / 0.5889 GB, free: 30.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.4227, allocations: 0.6677 MB / 0.5896 GB, free: 29.48 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.4242, allocations: 1.27 MB / 0.5908 GB, free: 28.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4243, allocations: 0 / 0.5908 GB, free: 28.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001908/0.4262, allocations: 1.484 MB / 0.5923 GB, free: 26.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4262, allocations: 4 kB / 0.5923 GB, free: 26.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4262, allocations: 0 / 0.5923 GB, free: 26.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4262, allocations: 4 kB / 0.5923 GB, free: 26.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.4284, allocations: 0.5268 MB / 0.5928 GB, free: 26.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.4284, allocations: 8 kB / 0.5928 GB, free: 26.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.4292, allocations: 119 kB / 0.5929 GB, free: 26.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/0.4293, allocations: 40 kB / 0.5929 GB, free: 26.01 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.0002376/0.4295, allocations: 213.6 kB / 0.5931 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.4296, allocations: 47.47 kB / 0.5932 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.4299, allocations: 155.9 kB / 0.5933 GB, free: 25.59 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4299, allocations: 12 kB / 0.5933 GB, free: 25.58 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4299, allocations: 0 / 0.5933 GB, free: 25.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4299, allocations: 3.984 kB / 0.5933 GB, free: 25.57 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/0.4308, allocations: 0.794 MB / 0.5941 GB, free: 24.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4308, allocations: 0 / 0.5941 GB, free: 24.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/0.4335, allocations: 0.5308 MB / 0.5946 GB, free: 24.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.4336, allocations: 4 kB / 0.5946 GB, free: 24.2 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.4337, allocations: 43.95 kB / 0.5947 GB, free: 24.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.4337, allocations: 4 kB / 0.5947 GB, free: 24.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4337, allocations: 0 / 0.5947 GB, free: 24.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.4361, allocations: 1.972 MB / 0.5966 GB, free: 22.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.4362, allocations: 124.4 kB / 0.5967 GB, free: 22.03 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.4363, allocations: 39.97 kB / 0.5968 GB, free: 21.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.4371, allocations: 71.69 kB / 0.5968 GB, free: 21.92 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.4373, allocations: 52.92 kB / 0.5969 GB, free: 21.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/0.4374, allocations: 35.98 kB / 0.5969 GB, free: 21.83 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.4374, allocations: 95.27 kB / 0.597 GB, free: 21.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4374, allocations: 0 / 0.597 GB, free: 21.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005625/0.438, allocations: 311.8 kB / 0.5973 GB, free: 21.43 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.002623/0.4406, allocations: 2.562 MB / 0.5998 GB, free: 18.84 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.4423, allocations: 1.334 MB / 0.6011 GB, free: 17.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4423, allocations: 3.938 kB / 0.6011 GB, free: 17.5 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007947/0.4431, allocations: 0.6615 MB / 0.6018 GB, free: 16.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.4437, allocations: 127.9 kB / 0.6019 GB, free: 16.71 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.4546, allocations: 11.32 MB / 0.6129 GB, free: 5.297 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.4549, allocations: 0.9158 MB / 0.6138 GB, free: 4.359 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009695/0.4559, allocations: 392.5 kB / 0.6142 GB, free: 3.973 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.4563, allocations: 187.4 kB / 0.6144 GB, free: 3.789 MB / 462.3 MB Notification: Performance of SimCode: time 5.41e-07/0.4563, allocations: 0 / 0.6144 GB, free: 3.789 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2058/0.6621, allocations: 16.74 MB / 0.6307 GB, free: 3.324 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.6624, allocations: 262.2 kB / 0.631 GB, free: 3.02 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.885, allocations: 3.188 kB / 0.631 GB, free: 3.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches